musl/include/sys
Rich Felker d426b04533 add ioperm/iopl syscalls
based on patches by orc and Isaac Dunham, with some fixes. sys/io.h
exists and contains prototypes for these functions regardless of
whether the target arch has them; this is a bit unorthodox but I don't
think it will break anything. the function definitions do not exist
unless the appropriate SYS_* syscall number macro is defined, which
should make sure configure scripts looking for these functions don't
find them on other systems.

presently, sys/io.h does not have the inb/outb/etc. port io
macros/functions. I'd be surprised if ioperm/iopl are useful without
them, so they probably need to be added at some point in appropriate
bits/io.h files...
2012-07-23 16:54:53 -04:00
..
epoll.h
eventfd.h
file.h various header cleanups, some related to _BSD_SOURCE addition 2012-05-22 22:04:55 -04:00
fsuid.h header file fixes: multiple include guard consistency and correctness 2012-06-15 21:52:53 -04:00
inotify.h fix typo in inotify.h 2012-02-07 22:48:58 -05:00
io.h add ioperm/iopl syscalls 2012-07-23 16:54:53 -04:00
ioctl.h
ipc.h
kd.h
klog.h
mman.h _GNU_SOURCE is supposed to imply _LARGEFILE64_SOURCE 2012-06-04 08:03:56 -04:00
mount.h fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
msg.h fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
param.h fix missing parens in bit op macros (param.h) 2012-05-10 12:10:44 -04:00
poll.h
prctl.h
procfs.h fix some details in ugly stuff that doesn't belong in libc 2011-10-17 12:23:04 -04:00
ptrace.h implement ptrace syscall wrapper (untested) 2011-09-15 13:03:13 -04:00
reboot.h
reg.h fix broken multi-inclusion guard in sys/reg.h 2011-09-19 11:56:09 -04:00
resource.h _GNU_SOURCE is supposed to imply _LARGEFILE64_SOURCE 2012-06-04 08:03:56 -04:00
select.h FD_ISSET must return an int. this is the easiest way. 2011-09-23 22:24:33 -04:00
sem.h
sendfile.h header file fixes: multiple include guard consistency and correctness 2012-06-15 21:52:53 -04:00
shm.h fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
signalfd.h
socket.h workaround another sendmsg kernel bug on 64-bit machines 2012-07-12 21:37:54 -04:00
soundcard.h
stat.h _GNU_SOURCE is supposed to imply _LARGEFILE64_SOURCE 2012-06-04 08:03:56 -04:00
statfs.h _GNU_SOURCE is supposed to imply _LARGEFILE64_SOURCE 2012-06-04 08:03:56 -04:00
statvfs.h _GNU_SOURCE is supposed to imply _LARGEFILE64_SOURCE 2012-06-04 08:03:56 -04:00
stropts.h
swap.h fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
syscall.h cleanup various minor issues reported by nsz 2011-09-26 00:59:28 -04:00
sysctl.h fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
sysinfo.h fix sysinfo, try 2. it seems to work this time. 2012-06-07 23:06:04 -04:00
syslog.h
sysmacros.h header file fixes: multiple include guard consistency and correctness 2012-06-15 21:52:53 -04:00
time.h support _BSD_SOURCE feature test macro 2012-05-22 21:52:08 -04:00
times.h fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
timex.h fix some header typos 2011-09-20 20:02:48 -04:00
types.h _GNU_SOURCE is supposed to imply _LARGEFILE64_SOURCE 2012-06-04 08:03:56 -04:00
ucontext.h
uio.h add process_vm_readv and process_vm_writev syscall wrappers 2012-06-23 21:38:47 -04:00
un.h
user.h sys/user.h may need stdint.h 2011-09-23 14:24:57 -04:00
utsname.h fix all missing instances of __cplusplus checks/extern "C" in headers 2011-11-10 20:40:06 -05:00
vfs.h
vt.h
wait.h support _BSD_SOURCE feature test macro 2012-05-22 21:52:08 -04:00
xattr.h add extended attributes syscalls 2012-07-23 16:39:44 -04:00