0d6531551b
* fhandler.h (fhandler_socket::accept4): Rename from accept. Take additional flag parameter. * fhandler_socket.cc (fhandler_socket::accept4): Ditto. Handle SOCK_NONBLOCK and SOCK_CLOEXEC flags. * net.cc (cygwin_socket): Handle SOCK_NONBLOCK and SOCK_CLOEXEC flags in type. Check for invalid flag values. (socketpair): Ditto. (cygwin_accept): Accommodate renaming of fhandler_socket::accept function to accept4. (accept4): New function. * posix.sgml: Mention accept4 as GNU extensions. * include/cygwin/socket.h (SOCK_NONBLOCK): Define. (SOCK_CLOEXEC): Define. (_SOCK_FLAG_MASK): Define when building Cygwin. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * include/sys/socket.h (accept4): Declare. |
||
---|---|---|
.. | ||
arpa | ||
asm | ||
attr | ||
bits | ||
cygwin | ||
machine | ||
net | ||
netinet | ||
sys | ||
a.out.h | ||
byteswap.h | ||
dlfcn.h | ||
elf.h | ||
endian.h | ||
err.h | ||
exceptions.h | ||
fcntl.h | ||
features.h | ||
fnmatch.h | ||
fts.h | ||
ftw.h | ||
getopt.h | ||
glob.h | ||
icmp.h | ||
ifaddrs.h | ||
inttypes.h | ||
io.h | ||
lastlog.h | ||
libgen.h | ||
limits.h | ||
mapi.h | ||
memory.h | ||
mntent.h | ||
mqueue.h | ||
netdb.h | ||
paths.h | ||
poll.h | ||
pthread.h | ||
pty.h | ||
resolv.h | ||
sched.h | ||
search.h | ||
semaphore.h | ||
stdint.h | ||
strings.h | ||
sysexits.h | ||
syslog.h | ||
termio.h | ||
tzfile.h | ||
utmpx.h | ||
wait.h |