Add two more system calls, __accept and __connect. The old accept() and
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 13 Jun 2006 21:04:17 +0000 (21:04 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 13 Jun 2006 21:04:17 +0000 (21:04 +0000)
commit358e1f781a9d27ea03a89b07c66e6d40d5dd90dc
tree346394570efc1df041921a0810a502b004830f01
parent89f28d1c47512f3dcfdf38d5c4f17b75543c9ba7
Add two more system calls, __accept and __connect.  The old accept() and
connect() are still present but will eventually be replaced with a libc
wrapper.

The new system calls add a flags argument, allowing O_FBLOCKING
or O_FNONBLOCKING to be passed to override the non-blocking setting in
the file pointer.  They are intended to be used by libc_r.
13 files changed:
sys/emulation/43bsd/43bsd_socket.c
sys/emulation/linux/linux_socket.c
sys/kern/init_sysent.c
sys/kern/syscalls.c
sys/kern/syscalls.master
sys/kern/uipc_syscalls.c
sys/sys/kern_syscall.h
sys/sys/syscall-args
sys/sys/syscall-hide.h
sys/sys/syscall.h
sys/sys/syscall.mk
sys/sys/sysproto.h
sys/sys/sysunion.h