mirror of https://github.com/mkerrisk/man-pages
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:
parent
92cedf330e
commit
6d7f73685f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue