musl/include
Rich Felker 2dd8d5e1b8 add support for ugly *64 functions with _LARGEFILE64_SOURCE
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.
2012-05-04 00:13:23 -04:00
..
arpa fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
net fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
netinet add additional compatibility union member for ipv6 addresses 2012-05-03 22:12:46 -04:00
netpacket add netpacket/packet.h 2011-06-09 21:47:24 -04:00
sys legacy junk compatibility grab-bag 2012-04-18 12:22:24 -04:00
aio.h add support for ugly *64 functions with _LARGEFILE64_SOURCE 2012-05-04 00:13:23 -04:00
alloca.h alloca cannot be a function. #define it to the gcc builtin if possible 2012-04-09 15:06:58 -04:00
assert.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
byteswap.h uglify headers for the sake of junk that compiles with gcc -std=c89/-ansi 2012-05-03 22:27:36 -04:00
complex.h simplify creal and cimag macros 2012-03-22 20:00:58 -04:00
cpio.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ctype.h fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
dirent.h add support for ugly *64 functions with _LARGEFILE64_SOURCE 2012-05-04 00:13:23 -04:00
dlfcn.h further fixup dlfcn.h 2011-06-27 01:02:28 -04:00
elf.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
endian.h uglify headers for the sake of junk that compiles with gcc -std=c89/-ansi 2012-05-03 22:27:36 -04:00
err.h support the nonstandard err.h interfaces 2011-04-05 11:16:49 -04:00
errno.h remove useless "extern" keywords in headers 2012-01-26 10:53:37 -05:00
fcntl.h add support for ugly *64 functions with _LARGEFILE64_SOURCE 2012-05-04 00:13:23 -04:00
features.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
fenv.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
float.h fix DECIMAL_DIG definitions 2012-03-21 12:42:48 -04:00
fnmatch.h add some missing GNU FNM_* extensions to the header 2011-10-17 12:24:23 -04:00
ftw.h add support for ugly *64 functions with _LARGEFILE64_SOURCE 2012-05-04 00:13:23 -04:00
getopt.h getopt.h is a GNU-getopt-specific header. always expose GNU functions. 2011-04-05 15:45:24 -04:00
glob.h add support for ugly *64 functions with _LARGEFILE64_SOURCE 2012-05-04 00:13:23 -04:00
grp.h fix prototypes/signature for setgroups, etc. 2011-04-13 09:03:22 -04:00
iconv.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
inttypes.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
iso646.h add previously-missing ios646.h 2011-02-14 21:59:38 -05:00
langinfo.h extensive header cleanup for standards conformance & correctness 2011-02-14 18:41:25 -05:00
libgen.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
libintl.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
limits.h limits.h: support gcc's -funsigned-char 2012-03-20 21:10:06 -04:00
locale.h more header cleanup and conformance fixes - locale.h, time.h 2011-02-14 20:45:37 -05:00
malloc.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
math.h support alternate glibc name pow10 for exp10 2012-05-01 00:07:37 -04:00
memory.h add memory.h, bogus legacy alias for string.h 2012-03-01 01:34:58 -05:00
mntent.h add profile for getmntent_r 2011-04-13 15:24:26 -04:00
monetary.h initial, very primitive strfmon 2012-03-21 00:47:37 -04:00
mqueue.h fix incorrect include guard in mqueue.h 2011-09-20 12:14:06 -04:00
netdb.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
nl_types.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
paths.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
poll.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
pthread.h use c++-friendly initializers for pthread initializer definitions 2012-02-29 22:55:08 -05:00
pty.h fix __cplusplus extern "C" closing brace in pty.h (typo?) 2011-11-10 21:01:24 -05:00
pwd.h add fgetpwent (nonstandard function) 2012-01-29 11:54:18 -05:00
regex.h duplicate re_nsub in LSB/glibc ABI compatible location 2011-06-16 16:53:11 -04:00
resolv.h remove useless "extern" keywords in headers 2012-01-26 10:53:37 -05:00
sched.h add linux-specific unshare syscall wrapper 2012-04-29 19:54:03 -04:00
search.h gnu search.h has struct qelem... 2011-09-21 21:01:56 -04:00
semaphore.h preliminaries to adding POSIX semaphores 2011-03-03 18:32:26 -05:00
setjmp.h major bugfix for sigset_t (it was mistakenly 1024 bytes instead of bits) 2011-02-14 18:45:58 -05:00
shadow.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
signal.h rename __sa_restorer to sa_restorer in struct sigaction 2012-04-13 23:06:54 -04:00
spawn.h fix various errors in function signatures/prototypes found by nsz 2011-09-13 21:09:35 -04:00
stdarg.h use compiler builtins for variadic macros when available 2011-04-27 23:41:48 -04:00
stdbool.h make stdbool.h conform to c99 2011-09-20 14:51:56 -04:00
stddef.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
stdint.h revert hacks for types of stdint.h integer constant macros 2012-02-07 12:08:27 -05:00
stdio.h add support for ugly *64 functions with _LARGEFILE64_SOURCE 2012-05-04 00:13:23 -04:00
stdio_ext.h add and consolidate nasty stdio_ext junk 2011-06-30 12:44:48 -04:00
stdlib.h add support for ugly *64 functions with _LARGEFILE64_SOURCE 2012-05-04 00:13:23 -04:00
string.h replace prototype for basename in string.h with non-prototype declaration 2012-02-24 23:23:47 -05:00
strings.h more locale_t interfaces (string stuff) and header updates 2012-02-06 21:51:02 -05:00
stropts.h fill in junk in stropts.h 2011-06-30 20:23:24 -04:00
syscall.h add <syscall.h> as an alias for <sys/syscall.h> 2012-02-29 22:36:06 -05:00
sysexits.h add sysexits.h legacy header 2011-04-05 15:40:36 -04:00
syslog.h add syslog.h cruft for syslogd to use... 2011-04-13 16:13:49 -04:00
tar.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
termios.h fix header typo 2012-04-18 13:11:35 -04:00
tgmath.h tgmath.h: suppress any existing macro definitions before defining macros 2012-03-22 15:36:56 -04:00
time.h legacy junk compatibility grab-bag 2012-04-18 12:22:24 -04:00
ucontext.h consistency: use struct __ucontext instead of ucontext_t in prototypes 2011-07-31 00:10:29 -04:00
ulimit.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
unistd.h add support for ugly *64 functions with _LARGEFILE64_SOURCE 2012-05-04 00:13:23 -04:00
utime.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
utmp.h fix utmp.h mess, try 2 2012-02-01 14:10:38 -05:00
utmpx.h utmpx.h is no longer under standards, so expose ut_exit structure 2011-04-12 12:03:33 -04:00
wchar.h add all missing wchar functions except floating point parsers 2012-03-01 23:24:45 -05:00
wctype.h fix some omissions and mistakes in locale_t interface definitions 2012-02-06 21:33:40 -05:00
wordexp.h fix typo in wordexp.h (note that the function is still unimplemented) 2011-02-19 12:44:36 -05:00