- 04 5月, 2012 1 次提交
-
-
由 Rich Felker 提交于
musl does not support legacy 32-bit-off_t whatsoever. off_t is always 64 bit, and correct programs that use off_t and the standard functions will just work out of the box. (on glibc, they would require -D_FILE_OFFSET_BITS=64 to work.) however, some programs instead define _LARGEFILE64_SOURCE and use alternate versions of all the standard types and functions with "64" appended to their names. we do not want code to actually get linked against these functions (it's ugly and inconsistent), so macros are used instead of prototypes with weak aliases in the library itself. eventually the weak aliases may be added at the library level for the sake of using code that was originally built against glibc, but the macros will still be the desired solution in the headers.
-
- 23 4月, 2012 2 次提交
-
-
由 Rich Felker 提交于
I actually wrote these a month ago but forgot to integrate them. ugly, probably-harmful-to-use functions, but some legacy apps want them...
-
由 Rich Felker 提交于
-
- 22 4月, 2012 1 次提交
-
-
由 Rich Felker 提交于
-
- 19 4月, 2012 1 次提交
-
-
由 Rich Felker 提交于
- add the rest of the junk traditionally in sys/param.h - add prototypes for some nonstandard functions - add _GNU_SOURCE to their source files so the compiler can check proto
-
- 18 2月, 2012 1 次提交
-
-
由 Rich Felker 提交于
-
- 14 9月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 12 8月, 2011 1 次提交
-
-
由 Rich Felker 提交于
this is a "nonstandard" function that was "rejected" by POSIX, but nonetheless had its behavior documented in the POSIX rationale for fork. it's present on solaris and possibly some other systems, and duplicates the whole calling process, not just a single thread. glibc does not have this function. it should not be used in programs intending to be portable, but may be useful for testing, checkpointing, etc. and it's an interesting (and quite small) example of the usefulness of the __synccall framework originally written to work around deficiencies in linux's setuid syscall.
-
- 28 4月, 2011 1 次提交
-
-
由 Rich Felker 提交于
the old versions worked, but conflicted with programs which declared their own prototypes and generated warnings with some versions of gcc.
-
- 13 4月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 04 4月, 2011 2 次提交
-
-
由 Rich Felker 提交于
-
由 Rich Felker 提交于
-
- 02 4月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 27 2月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 19 2月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 16 2月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 12 2月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-