Module Name: src Committed By: wiz Date: Wed Feb 1 13:30:42 UTC 2012
Modified Files: src/lib/libc/sys: recv.2 Log Message: Remove trailing whitespace. Bump date for previous. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/lib/libc/sys/recv.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/recv.2 diff -u src/lib/libc/sys/recv.2:1.30 src/lib/libc/sys/recv.2:1.31 --- src/lib/libc/sys/recv.2:1.30 Wed Feb 1 13:29:15 2012 +++ src/lib/libc/sys/recv.2 Wed Feb 1 13:30:42 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: recv.2,v 1.30 2012/02/01 13:29:15 manu Exp $ +.\" $NetBSD: recv.2,v 1.31 2012/02/01 13:30:42 wiz Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)recv.2 8.3 (Berkeley) 2/21/94 .\" -.Dd June 24, 2011 +.Dd February 1, 2012 .Dt RECV 2 .Os .Sh NAME @@ -95,7 +95,7 @@ in which case the value .Va errno set to .Er EAGAIN . -If no data is available and the remote peer was shut down, +If no data is available and the remote peer was shut down, 0 is returned. The receive calls normally return any data available, up to the requested amount, @@ -232,7 +232,7 @@ for ancillary data. is returned to indicate that expedited or out-of-band data were received. .Sh RETURN VALUES These calls return the number of bytes received, or \-1 -if an error occurred. +if an error occurred. For connected sockets whose remote peer was shut down, 0 is returned when no more data is available. .Sh ERRORS