udp.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:21 +02:00
parent 92cedf330e
commit 6d7f73685f
1 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,7 @@
.\"
.\" $Id: udp.7,v 1.7 2000/01/22 01:55:05 freitag Exp $
.\"
.TH UDP 7 2010-06-13 "Linux" "Linux Programmer's Manual"
.TH UDP 7 2013-04-18 "Linux" "Linux Programmer's Manual"
.SH NAME
udp \- User Datagram Protocol for IPv4
.SH SYNOPSIS
@ -180,6 +180,10 @@ to read or
.BR setsockopt (2)
to write the option with the option level argument set to
.BR IPPROTO_UDP .
Unless otherwise noted,
.I optval
is a pointer to an
.IR int .
.TP
.BR UDP_CORK " (since Linux 2.5.44)"
If this option is enabled, then all data output on this socket