Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2013 16:36:18 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r249412 - head/share/man/man9
Message-ID:  <201304121636.r3CGaI5m071558@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Fri Apr 12 16:36:18 2013
New Revision: 249412
URL: http://svnweb.freebsd.org/changeset/base/249412

Log:
  Fix usage for soreceive(9) - uio must always be non-NULL.
  
  MFC after:	1 week

Modified:
  head/share/man/man9/socket.9

Modified: head/share/man/man9/socket.9
==============================================================================
--- head/share/man/man9/socket.9	Fri Apr 12 16:29:15 2013	(r249411)
+++ head/share/man/man9/socket.9	Fri Apr 12 16:36:18 2013	(r249412)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 14, 2006
+.Dd April 12, 2013
 .Dt SOCKET 9
 .Os
 .Sh NAME
@@ -208,12 +208,19 @@ Data may be retrieved directly to kernel
 argument, or as an mbuf chain returned to the caller via
 .Fa mp0 ,
 avoiding a data copy.
-Only one of the
+The
 .Fa uio
-or
-.Fa mp0
-pointers may be
+must always be
 .Pf non- Dv NULL .
+If
+.Fa mp0
+is
+.Pf non- Dv NULL ,
+only the
+.Pf uio_resid
+of
+.Fa uio
+is used.
 The caller may optionally retrieve a socket address on a protocol with the
 .Dv PR_ADDR
 capability by providing storage via



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304121636.r3CGaI5m071558>