musl/include
Rich Felker 224c7a376a fix the type of wchar_t on arm; support wchar_t varying with arch
really wchar_t should never vary, but the ARM EABI defines it as an
unsigned 32-bit int instead of a signed one, and gcc follows this
nonsense. thus, to give a conformant environment, we have to follow
(otherwise L""[0] and L'\0' would be 0U rather than 0, but the
application would be unaware due to a mismatched definition for
WCHAR_MIN and WCHAR_MAX, and Bad Things could happen with respect to
signed/unsigned comparisons, promotions, etc.).

fortunately no rules are imposed by the C standard on the relationship
between wchar_t and wint_t, and WEOF has type wint_t, so we can still
make wint_t always-signed and use -1 for WEOF.
2011-09-19 17:39:51 -04:00
..
arpa initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
linux some linux headers useful from user apps. 2011-03-18 21:53:30 -04:00
net initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
netinet more bits junk (tcp.h) 2011-09-18 15:39:52 -04:00
netpacket add netpacket/packet.h 2011-06-09 21:47:24 -04:00
sys fix broken multi-inclusion guard in sys/reg.h 2011-09-19 11:56:09 -04:00
aio.h fix return types for aio_read and aio_write again 2011-09-13 21:21:53 -04:00
alloca.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
assert.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
byteswap.h move bswap functions to static inline in byteswap.h 2011-04-12 13:04:17 -04:00
cpio.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ctype.h extensive header cleanup for standards conformance & correctness 2011-02-14 18:41:25 -05:00
dirent.h fix handling of d_name in struct dirent 2011-06-06 18:04:28 -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 initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
err.h support the nonstandard err.h interfaces 2011-04-05 11:16:49 -04:00
errno.h use __attribute__((const)) for errno and pthread_self if __GNUC__ is defined 2011-06-06 20:12:42 -04:00
fcntl.h fix O_SYNC definition, cleanup fcntl.h 2011-04-14 22:06:30 -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 initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
fnmatch.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ftw.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05: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 initial check-in, version 0.5.0 2011-02-12 00:22:29 -05: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 move all limits that don't vary out of bits/limits.h, into main limits.h 2011-06-25 15:38:00 -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 isgreater etc. relation macros for math.h 2011-06-08 16:33:04 -04:00
mntent.h add profile for getmntent_r 2011-04-13 15:24:26 -04:00
mqueue.h add support for POSIX message queues, except mq_notify 2011-06-07 01:52:27 -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 macro for pthread_equal 2011-08-14 15:17:36 -04:00
pty.h implement (nonstandard) forkpty 2011-04-20 20:55:13 -04:00
pwd.h prototype for getpass 2011-03-28 20:43:51 -04:00
regex.h duplicate re_nsub in LSB/glibc ABI compatible location 2011-06-16 16:53:11 -04:00
resolv.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
sched.h overhaul clone syscall wrapping 2011-09-18 10:14:37 -04:00
search.h XSI search.h API implementation by Szabolcs Nagy 2011-06-25 18:18:57 -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 implement gnu sigisemptyset 2011-09-12 00:00:30 -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 initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
stddef.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
stdint.h fix the type of wchar_t on arm; support wchar_t varying with arch 2011-09-19 17:39:51 -04:00
stdio.h add prototypes for GNU *_unlocked stdio functions 2011-09-11 22:50:02 -04:00
stdio_ext.h add and consolidate nasty stdio_ext junk 2011-06-30 12:44:48 -04:00
stdlib.h declare alloca in stdlib.h when _GNU_SOURCE is defined 2011-09-11 22:43:57 -04:00
string.h add dummied strverscmp (obnoxious GNU function) 2011-09-11 22:45:56 -04:00
strings.h extensive header cleanup for standards conformance & correctness 2011-02-14 18:41:25 -05:00
stropts.h fill in junk in stropts.h 2011-06-30 20:23:24 -04: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 initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
time.h fix various errors in function signatures/prototypes found by nsz 2011-09-13 21:09:35 -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 fix various errors in function signatures/prototypes found by nsz 2011-09-13 21:09:35 -04:00
utime.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
utmp.h various legacy and linux-specific stuff 2011-03-18 21:52:26 -04: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 fix the type of wchar_t on arm; support wchar_t varying with arch 2011-09-19 17:39:51 -04:00
wctype.h more header fixes, minor warning fix 2011-02-14 19:33:11 -05:00
wordexp.h fix typo in wordexp.h (note that the function is still unimplemented) 2011-02-19 12:44:36 -05:00