mirror of https://github.com/mkerrisk/man-pages
getsockopt.2: Minor fixes to Konstantim Shemyak's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
eb048645b6
commit
f8b553ce14
|
@ -129,12 +129,14 @@ For a description of the available socket options see
|
|||
.BR socket (7)
|
||||
and the appropriate protocol man pages.
|
||||
.SH RETURN VALUE
|
||||
On success, zero is returned for the standard options. Netfilter allows
|
||||
to define custom socket options with associated handlers; for such
|
||||
options, the return value is the one returned from the handler.
|
||||
On success, zero is returned for the standard options.
|
||||
On error, \-1 is returned, and
|
||||
.I errno
|
||||
is set appropriately.
|
||||
|
||||
Netfilter allows the programmer
|
||||
to define custom socket options with associated handlers; for such
|
||||
options, the return value on success is the value returned by the handler.
|
||||
.SH ERRORS
|
||||
.TP 10
|
||||
.B EBADF
|
||||
|
|
Loading…
Reference in New Issue