diff --git a/man7/tcp.7 b/man7/tcp.7 index d116c679e..d94cbebea 100644 --- a/man7/tcp.7 +++ b/man7/tcp.7 @@ -13,7 +13,7 @@ .\" be more or less up to date and complete as at Linux 2.6.27 .\" (other than the remaining FIXMEs in the page source below). .\" -.TH TCP 7 2009-09-30 "Linux" "Linux Programmer's Manual" +.TH TCP 7 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME tcp \- TCP protocol .SH SYNOPSIS @@ -1013,6 +1013,14 @@ Returns the amount of queued unread data in the receive buffer. The socket must not be in LISTEN state, otherwise an error .RB ( EINVAL ) is returned. +.B SIOCINQ +is defined in +.IR . +Alternatively, +you can use the synonymous +.BR FIONREAD , +defined in +.IR . .TP .B SIOCATMARK Returns true (i.e., @@ -1054,6 +1062,14 @@ Returns the amount of unsent data in the socket send queue. The socket must not be in LISTEN state, otherwise an error .RB ( EINVAL ) is returned. +.B SIOCOUTQ +is defined in +.IR . +Alternatively, +you can use the synonymous +.BR TIOCOUTQ , +defined in +.IR . .SS Error Handling When a network error occurs, TCP tries to resend the packet. If it doesn't succeed after some time, either