musl/src
Rich Felker 685e40bb09 syscall overhaul part two - unify public and internal syscall interface
with this patch, the syscallN() functions are no longer needed; a
variadic syscall() macro allows syscalls with anywhere from 0 to 6
arguments to be made with a single macro name. also, manually casting
each non-integer argument with (long) is no longer necessary; the
casts are hidden in the macros.

some source files which depended on being able to define the old macro
SYSCALL_RETURNS_ERRNO have been modified to directly use __syscall()
instead of syscall(). references to SYSCALL_SIGSET_SIZE and SYSCALL_LL
have also been changed.

x86_64 has not been tested, and may need a follow-up commit to fix any
minor bugs/oversights.
2011-03-19 21:36:10 -04:00
..
conf fix sem_open and sem_close to obey posix semantics 2011-03-10 21:34:19 -05:00
ctype more header fixes, minor warning fix 2011-02-14 19:33:11 -05:00
dirent finish moving 32-bit-specific junk out of source files. 2011-02-15 04:12:19 -05:00
env initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
errno change errno to static linkage (improves PIC code generation) 2011-02-21 23:00:52 -05:00
exit syscall overhaul part two - unify public and internal syscall interface 2011-03-19 21:36:10 -04:00
fcntl initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
internal syscall overhaul part two - unify public and internal syscall interface 2011-03-19 21:36:10 -04:00
ipc fixed missing cast in the non-i386 version of shmat (preparation for ports) 2011-02-13 23:26:51 -05:00
ldso various changes in preparation for dynamic linking support 2011-02-24 16:37:21 -05:00
linux overhaul syscall interface 2011-03-19 18:51:42 -04:00
locale use a more-correct integer type, and silence 64-bit warnings as a bonus 2011-02-13 23:38:21 -05:00
malloc make malloc(0) return unique pointers rather than NULL 2011-02-20 16:16:33 -05:00
math Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
misc fix compile failure: legacy cuserid needs to define feature test 2011-02-16 09:30:56 -05:00
mman implement POSIX shared memory 2011-03-03 00:30:31 -05:00
multibyte cleanup utf-8 multibyte code, use visibility if possible 2011-02-27 00:28:59 -05:00
network cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
passwd guard against hard links to non-ordinary-files when reading tcb shadow 2011-02-14 21:15:07 -05:00
prng initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
process make fork properly initialize the main thread in the child process 2011-03-09 20:23:44 -05:00
regex initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
select yet another ugly legacy syscall rename... 2011-02-15 05:52:27 -05:00
setjmp Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
signal syscall overhaul part two - unify public and internal syscall interface 2011-03-19 21:36:10 -04:00
stat implement futimens and utimensat 2011-02-27 03:48:57 -05:00
stdio implement [v]swprintf 2011-03-18 09:19:09 -04:00
stdlib don't compare elements with themselves during qsort. 2011-02-17 00:03:24 -05:00
string fix broken wmemchr (unbounded search) 2011-03-17 22:38:45 -04:00
stub various legacy and linux-specific stuff 2011-03-18 21:52:26 -04:00
temp make mktemp match the historic behavior, and update functions that use it 2011-02-19 09:40:07 -05:00
termios more cancellation points: tcdrain, clock_nanosleep 2011-03-10 11:06:50 -05:00
thread syscall overhaul part two - unify public and internal syscall interface 2011-03-19 21:36:10 -04:00
time syscall overhaul part two - unify public and internal syscall interface 2011-03-19 21:36:10 -04:00
unistd syscall overhaul part two - unify public and internal syscall interface 2011-03-19 21:36:10 -04:00