From 92cedf330e379678aecd8e765323b65e1cdeed27 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 18 Apr 2013 16:15:11 +0200 Subject: [PATCH] tcp.7: Note that 'optval' for socket options is an 'int' in most cases Signed-off-by: Michael Kerrisk --- man7/tcp.7 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/man7/tcp.7 b/man7/tcp.7 index aaa8fb758..6669c11f6 100644 --- a/man7/tcp.7 +++ b/man7/tcp.7 @@ -62,7 +62,7 @@ .\" commit b139ba4e90dccbf4cd4efb112af96a5c9e0b098c .\" Author: Pavel Emelyanov .\" -.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