From 3e4088f4a4f5c55b3b2b0158518dfc87b3f4df41 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 3 Dec 2008 16:01:54 -0500 Subject: [PATCH] getpeername.2, getsockname.2, getsockopt.2, recv.2, send.2, shutdown.2: minor s/s/sockfd/ for cases not caught in previous changes Signed-off-by: Michael Kerrisk --- man2/getpeername.2 | 4 ++-- man2/getsockname.2 | 4 ++-- man2/getsockopt.2 | 4 ++-- man2/recv.2 | 4 ++-- man2/send.2 | 2 +- man2/shutdown.2 | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/man2/getpeername.2 b/man2/getpeername.2 index 9ae39f8f4..95634aabe 100644 --- a/man2/getpeername.2 +++ b/man2/getpeername.2 @@ -72,7 +72,7 @@ is set appropriately. .TP .B EBADF The argument -.I s +.I sockfd is not a valid descriptor. .TP .B EFAULT @@ -94,7 +94,7 @@ The socket is not connected. .TP .B ENOTSOCK The argument -.I s +.I sockfd is a file, not a socket. .SH "CONFORMING TO" SVr4, 4.4BSD (the diff --git a/man2/getsockname.2 b/man2/getsockname.2 index a24f69c7c..0f4ccb376 100644 --- a/man2/getsockname.2 +++ b/man2/getsockname.2 @@ -71,7 +71,7 @@ is set appropriately. .TP .B EBADF The argument -.I s +.I sockfd is not a valid descriptor. .TP .B EFAULT @@ -90,7 +90,7 @@ to perform the operation. .TP .B ENOTSOCK The argument -.I s +.I sockfd is a file, not a socket. .SH "CONFORMING TO" SVr4, 4.4BSD (the diff --git a/man2/getsockopt.2 b/man2/getsockopt.2 index 54b5e130a..d91e1ac88 100644 --- a/man2/getsockopt.2 +++ b/man2/getsockopt.2 @@ -135,7 +135,7 @@ is set appropriately. .TP 10 .B EBADF The argument -.I s +.I sockfd is not a valid descriptor. .TP .B EFAULT @@ -164,7 +164,7 @@ The option is unknown at the level indicated. .TP .B ENOTSOCK The argument -.I s +.I sockfd is a file, not a socket. .SH "CONFORMING TO" SVr4, 4.4BSD (these system calls first appeared in 4.2BSD), diff --git a/man2/recv.2 b/man2/recv.2 index aeffb12ef..cf8a41ee9 100644 --- a/man2/recv.2 +++ b/man2/recv.2 @@ -396,7 +396,7 @@ before data was received. .TP .B EBADF The argument -.I s +.I sockfd is an invalid descriptor. .TP .B ECONNREFUSED @@ -429,7 +429,7 @@ and .TP .B ENOTSOCK The argument -.I s +.I sockfd does not refer to a socket. .SH "CONFORMING TO" 4.4BSD (these function calls first appeared in 4.2BSD), diff --git a/man2/send.2 b/man2/send.2 index 8fa250e6e..70ca2f9d1 100644 --- a/man2/send.2 +++ b/man2/send.2 @@ -336,7 +336,7 @@ The socket is not connected, and no target has been given. .TP .B ENOTSOCK The argument -.I s +.I sockfd is not a socket. .TP .B EOPNOTSUPP diff --git a/man2/shutdown.2 b/man2/shutdown.2 index 98669fada..8d6d90f01 100644 --- a/man2/shutdown.2 +++ b/man2/shutdown.2 @@ -72,14 +72,14 @@ is set appropriately. .SH ERRORS .TP .B EBADF -.I s +.I sockfd is not a valid descriptor. .TP .B ENOTCONN The specified socket is not connected. .TP .B ENOTSOCK -.I s +.I sockfd is a file, not a socket. .SH "CONFORMING TO" POSIX.1-2001, 4.4BSD (the