musl/include
Rich Felker d00ff2950e overhaul syscall interface
this commit shuffles around the location of syscall definitions so
that we can make a syscall() library function with both SYS_* and
__NR_* style syscall names available to user applications, provides
the syscall() library function, and optimizes the code that performs
the actual inline syscalls in the library itself.

previously on i386 when built as PIC (shared library), syscalls were
incurring bus lock (lock prefix) overhead at entry and exit, due to
the way the ebx register was being loaded (xchg instruction with a
memory operand). now the xchg takes place between two registers.

further cleanup to arch/$(ARCH)/syscall.h is planned.
2011-03-19 18:51:42 -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 resolve some header namespace non-issues 2011-02-20 02:44:52 -05:00
sys overhaul syscall interface 2011-03-19 18:51:42 -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 initial check-in, version 0.5.0 2011-02-12 00:22:29 -05: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 typos in dirent.h 2011-03-08 17:34:26 -05:00
dlfcn.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05: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
errno.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
fcntl.h fcntl.h should make availabel the mode constants from sys/stat.h 2011-03-08 12:35:35 -05: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 initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
glob.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
grp.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05: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 fix sem_open and sem_close to obey posix semantics 2011-03-10 21:34:19 -05: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 extensive header cleanup for standards conformance & correctness 2011-02-14 18:41:25 -05:00
mntent.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05: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 implement robust mutexes 2011-03-17 20:41:37 -04:00
pty.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
pwd.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
regex.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
resolv.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
sched.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
search.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05: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 move the GNU siginfo renaming so it doesn't lead to mismatching names 2011-02-20 01:48:51 -05:00
stdarg.h split off arch-specific stdarg.h stuff 2011-02-15 05:06:15 -05: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 initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
stdio.h prototypes for GNU asprintf/vasprintf 2011-02-20 17:17:09 -05:00
stdlib.h fix the types of some integer constant limits in headers 2011-02-15 19:15:45 -05:00
string.h fix missing prototype for strsignal 2011-02-26 23:50:26 -05:00
strings.h extensive header cleanup for standards conformance & correctness 2011-02-14 18:41:25 -05:00
stropts.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
syslog.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05: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 another error from header cleanup, missing size_t in time.h 2011-02-15 15:25:31 -05:00
ucontext.h support the ugly and deprecated ucontext and sigcontext header stuff... 2011-02-18 22:03:03 -05:00
ulimit.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
unistd.h implement fexecve 2011-02-27 02:59:23 -05: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 various legacy and linux-specific stuff 2011-03-18 21:52:26 -04:00
wchar.h implement [v]swprintf 2011-03-18 09:19:09 -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