Add pselect syscall.
authorNicolas Thery <nth@dragonflybsd.org>
Thu, 10 Jan 2008 22:30:28 +0000 (22:30 +0000)
committerNicolas Thery <nth@dragonflybsd.org>
Thu, 10 Jan 2008 22:30:28 +0000 (22:30 +0000)
commitae7cb1b5c435678f07bcf798237b7b267f2d90da
tree0cb33232761da3f98969732ffa91c03b2f77c824
parent9915ae30baea58608c15ce277c66172f12288ce0
Add pselect syscall.

Add pselect man page (obtained from FreeBSD).

Add pselect wrapper in libthread_xu that calls pselect syscall.

Add pselect wrapper in libc_r that calls poll syscall (see XXX in code
and BUGS in pselect man page).

Changed libbind to use pselect syscall instead of locally defined wrapper.
18 files changed:
include/unistd.h
lib/libbind/port_after.h
lib/libc/sys/Makefile.inc
lib/libc/sys/pselect.2 [new file with mode: 0644]
lib/libc_r/uthread/uthread_select.c
lib/libthread_xu/thread/thr_syscalls.c
sys/kern/init_sysent.c
sys/kern/sys_generic.c
sys/kern/syscalls.c
sys/kern/syscalls.master
sys/platform/pc32/i386/trap.c
sys/platform/vkernel/i386/trap.c
sys/sys/select.h
sys/sys/syscall-hide.h
sys/sys/syscall.h
sys/sys/syscall.mk
sys/sys/sysproto.h
sys/sys/sysunion.h