musl/arch/x86_64/bits
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
..
alltypes.h.sh fix and cleanup suseconds_t/timeval stuff (broken on 64-bit) 2011-04-13 13:16:49 -04:00
endian.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
errno.h fix missing ENOTSUP error code 2011-03-11 09:50:54 -05:00
fcntl.h fix O_SYNC definition, cleanup fcntl.h 2011-04-14 22:06:30 -04:00
fenv.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
float.h add missing float.h macros 2011-04-10 18:27:47 -04:00
ioctl.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
ipc.h numerous fixes to sysv ipc 2011-04-13 16:45:43 -04: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
mman.h namespace fixes for sys/mman.h 2011-04-20 15:55:58 -04:00
msg.h numerous fixes to sysv ipc 2011-04-13 16:45:43 -04:00
posix.h typo in macro definitions for x86_64 2011-08-14 15:19:17 -04:00
pthread.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
reg.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
setjmp.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
shm.h numerous fixes to sysv ipc 2011-04-13 16:45:43 -04:00
signal.h make sigaltstack work (missing macros in signal.h, error conditions) 2011-03-10 10:17:29 -05:00
socket.h cleanup more bits cruft (sysmacros and socket) 2011-09-18 16:34:13 -04:00
stat.h Update x86_64 bits to mirror (modulo platform differences) the latest changes 2011-02-15 08:02:33 -05:00
statfs.h fix statvfs syscalls (missing size argument) 2011-04-03 15:42:31 -04:00
stdarg.h use compiler builtins for variadic macros when available 2011-04-27 23:41:48 -04:00
stdint.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
syscall.h add syscall wrappers for posix_fadvise, posix_fallocate 2011-04-20 15:20:22 -04:00
termios.h various legacy and linux-specific stuff 2011-03-18 21:52:26 -04:00
user.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05: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