Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   maya
Date:           Wed Feb  8 17:58:41 UTC 2017

Modified Files:
        src/lib/libc/sys: Makefile.inc
        src/sys/sys: socket.h
Added Files:
        src/lib/libc/sys: accept4.c

Log Message:
Add accept4, a tiny wrapper around paccept.

accept4 is a syscall in Linux, FreeBSD and OpenBSD. It is used in
LLVM, zeromq, and probably others. paccept is a superset of it.

adding it to libc ensures it is used by programs and prevents the
need to define the same wrapper in every program.


To generate a diff of this commit:
cvs rdiff -u -r1.233 -r1.234 src/lib/libc/sys/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/lib/libc/sys/accept4.c
cvs rdiff -u -r1.120 -r1.121 src/sys/sys/socket.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index