]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
socket.7: Note that 'optval' for socket options is an 'int' in most cases
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 18 Apr 2013 14:14:38 +0000 (16:14 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 19 Apr 2013 12:18:59 +0000 (14:18 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/socket.7

index 2bd87f087fa735863307b3321f3b1f96b7b5025f..0b583a3c0207ffc477c6767f5d26fada7528f0f4 100644 (file)
@@ -266,13 +266,17 @@ structure is useful in programs that must handle socket addresses
 in a generic way
 (e.g., programs that must deal with both IPv4 and IPv6 socket addresses).
 .SS Socket options
-These socket options can be set by using
+The socket options listed below can be set by using
 .BR setsockopt (2)
 and read with
 .BR getsockopt (2)
 with the socket level set to
 .B SOL_SOCKET
-for all sockets:
+for all sockets.
+Unless otherwise noted,
+.I optval
+is a pointer to an
+.IR int .
 .\" FIXME
 .\" In the list below, the text used to describe argument types
 .\" for each socket option should be more consistent