On 03/20/2017 06:25 AM, Mike Frysinger wrote: > Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx> Thanks, Mike! Applied. Cheers, Michael > --- > man2/socketcall.2 | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 108 insertions(+) > > diff --git a/man2/socketcall.2 b/man2/socketcall.2 > index d3b16dcb37d3..11e4c21f5ec5 100644 > --- a/man2/socketcall.2 > +++ b/man2/socketcall.2 > @@ -26,6 +26,8 @@ > .SH NAME > socketcall \- socket system calls > .SH SYNOPSIS > +.B #include <linux/net.h> > +.sp > .BI "int socketcall(int " call ", unsigned long *" args ); > .SH DESCRIPTION > .BR socketcall () > @@ -39,6 +41,112 @@ which are passed through to the appropriate call. > User programs should call the appropriate functions by their usual names. > Only standard library implementors and kernel hackers need to know about > .BR socketcall (). > +.PP > +.TS > +tab(:); > +l l. > +\fIcall\fR:Man page > +T{ > +.B SYS_SOCKET > +T}:T{ > +.BR socket (2) > +T} > +T{ > +.B SYS_BIND > +T}:T{ > +.BR bind (2) > +T} > +T{ > +.B SYS_CONNECT > +T}:T{ > +.BR connect (2) > +T} > +T{ > +.B SYS_LISTEN > +T}:T{ > +.BR listen (2) > +T} > +T{ > +.B SYS_ACCEPT > +T}:T{ > +.BR accept (2) > +T} > +T{ > +.B SYS_GETSOCKNAME > +T}:T{ > +.BR getsockname (2) > +T} > +T{ > +.B SYS_GETPEERNAME > +T}:T{ > +.BR getpeername (2) > +T} > +T{ > +.B SYS_SOCKETPAIR > +T}:T{ > +.BR socketpair (2) > +T} > +T{ > +.B SYS_SEND > +T}:T{ > +.BR send (2) > +T} > +T{ > +.B SYS_RECV > +T}:T{ > +.BR recv (2) > +T} > +T{ > +.B SYS_SENDTO > +T}:T{ > +.BR sendto (2) > +T} > +T{ > +.B SYS_RECVFROM > +T}:T{ > +.BR recvfrom (2) > +T} > +T{ > +.B SYS_SHUTDOWN > +T}:T{ > +.BR shutdown (2) > +T} > +T{ > +.B SYS_SETSOCKOPT > +T}:T{ > +.BR setsockopt (2) > +T} > +T{ > +.B SYS_GETSOCKOPT > +T}:T{ > +.BR getsockopt (2) > +T} > +T{ > +.B SYS_SENDMSG > +T}:T{ > +.BR sendmsg (2) > +T} > +T{ > +.B SYS_RECVMSG > +T}:T{ > +.BR recvmsg (2) > +T} > +T{ > +.B SYS_ACCEPT4 > +T}:T{ > +.BR accept4 (2) > +T} > +T{ > +.B SYS_RECVMMSG > +T}:T{ > +.BR recvmmsg (2) > +T} > +T{ > +.B SYS_SENDMMSG > +T}:T{ > +.BR sendmmsg (2) > +T} > +.TE > .SH CONFORMING TO > This call is specific to Linux, and should not be used in programs > intended to be portable. > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html