Module Name:    src
Committed By:   jruoho
Date:           Mon Apr 26 07:51:36 UTC 2010

Modified Files:
        src/share/man/man9: uiomove.9

Log Message:
Describe the struct iovec better.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/share/man/man9/uiomove.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/uiomove.9
diff -u src/share/man/man9/uiomove.9:1.16 src/share/man/man9/uiomove.9:1.17
--- src/share/man/man9/uiomove.9:1.16	Mon Apr 26 07:36:33 2010
+++ src/share/man/man9/uiomove.9	Mon Apr 26 07:51:36 2010
@@ -1,4 +1,4 @@
-.\"	$NetBSD: uiomove.9,v 1.16 2010/04/26 07:36:33 jruoho Exp $
+.\"	$NetBSD: uiomove.9,v 1.17 2010/04/26 07:51:36 jruoho Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -76,12 +76,25 @@
 The
 .Va struct iovec
 is defined to be:
-.Bd -literal
+.Bd -literal -offset indent
 struct iovec {
-	void	*iov_base;	/* Base address. */
-	size_t	 iov_len;	/* Length. */
+	void	*iov_base;
+	size_t	 iov_len;
 };
 .Ed
+.Pp
+The members in the
+.Va struct iovec
+should only be initialized.
+These are:
+.Bl -tag -width "*iov_base " -offset indent
+.It Va iov_base
+The address for a range of memory to or from which data is transferred.
+.It Va iov_len
+The number of bytes of data to be transferred to
+or from the range of memory starting at
+.Va iov_base .
+.El
 .It Va uio_iovcnt
 The number of
 .Tn I/O

Reply via email to