tcp.7: Note that 'optval' for socket options is an 'int' in most cases

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-04-18 16:15:11 +02:00
parent 7d247ee8ab
commit 92cedf330e
1 changed files with 5 additions and 1 deletions

View File

@ -62,7 +62,7 @@
.\" commit b139ba4e90dccbf4cd4efb112af96a5c9e0b098c
.\" Author: Pavel Emelyanov <xemul@parallels.com>
.\"
.TH TCP 7 2012-04-23 "Linux" "Linux Programmer's Manual"
.TH TCP 7 2013-04-18 "Linux" "Linux Programmer's Manual"
.SH NAME
tcp \- TCP protocol
.SH SYNOPSIS
@ -862,6 +862,10 @@ to read or
.BR setsockopt (2)
to write the option with the option level argument set to
.BR IPPROTO_TCP .
Unless otherwise noted,
.I optval
is a pointer to an
.IR int .
.\" or SOL_TCP on Linux
In addition,
most