musl/arch/arm/bits
Rich Felker da1442c9a8 fix types for wctype_t and wctrans_t
wctype_t was incorrectly "int" rather than "long" on x86_64. not only
is this an ABI incompatibility; it's also a major design flaw if we
ever wanted wctype_t to be implemented as a pointer, which would be
necessary if locales support custom character classes, since int is
too small to store a converted pointer. this commit fixes wctype_t to
be unsigned long on all archs, matching the LSB ABI; this change does
not matter for C code, but for C++ it affects mangling.

the same issue applied to wctrans_t. glibc/LSB defines this type as
const __int32_t *, but since no such definition is visible, I've just
expanded the definition, int, everywhere.

it would be nice if these types (which don't vary by arch) could be in
wctype.h, but the OB XSI requirement in POSIX that wchar.h expose some
types and functions from wctype.h precludes doing so. glibc works
around this with some hideous hacks, but trying to duplicate that
would go against the intent of musl's headers.
2013-03-04 19:22:14 -05:00
..
alltypes.h.sh fix types for wctype_t and wctrans_t 2013-03-04 19:22:14 -05:00
endian.h better support for reverse-endian variants of arm/mips/microblaze 2012-10-18 21:50:55 -04:00
errno.h add missing EHWPOISON to bits/errno.h 2013-01-12 19:42:39 +01:00
fcntl.h add missing F_GETOWNER_UIDS flag to bits/fcntl.h 2013-01-12 19:42:39 +01:00
fenv.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
float.h fix DECIMAL_DIG definitions 2012-03-21 12:42:48 -04:00
io.h fix breakage from introducing bits header for sys/io.h 2012-11-18 19:58:15 -05:00
ioctl.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
ipc.h fix broken semctl on systems that don't use IPC_64 flag 2012-09-22 08:02:42 -04:00
limits.h fix missing _BSD_SOURCE support in bits/*.h 2012-05-22 22:12:10 -04:00
mman.h add missing mmap options and madvices to bits/mman.h based on linux headers 2013-01-12 19:42:39 +01:00
msg.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
posix.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
reg.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
setjmp.h jmp_buf overhaul fixing several issues 2012-07-03 20:07:33 -04:00
shm.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
signal.h fixup mcontext stuff to expost gregset_t/fpregset_t as appropriate 2012-11-25 23:04:23 -05:00
socket.h workaround another sendmsg kernel bug on 64-bit machines 2012-07-12 21:37:54 -04:00
stat.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
statfs.h fix the definition of struct statvfs to match lsb abi 2011-09-19 23:35:48 -04:00
stdarg.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
stdint.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
syscall.h syscall organization overhaul 2012-09-08 22:43:14 -04:00
termios.h add missing EXTPROC flag to bits/termios.h 2013-01-12 19:42:39 +01:00
user.h fix regression in arm user.h that happened during big user.h changes 2012-12-04 09:32:45 -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