Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 Describe the struct iovec better.
details: https://anonhg.NetBSD.org/src/rev/4b36757a64ce
branches: trunk
changeset: 754282:4b36757a64ce
user: jruoho <jruoho%NetBSD.org@localhost>
date: Mon Apr 26 07:51:36 2010 +0000
description:
Describe the struct iovec better.
diffstat:
share/man/man9/uiomove.9 | 21 +++++++++++++++++----
1 files changed, 17 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r a739a19ffff1 -r 4b36757a64ce share/man/man9/uiomove.9
--- a/share/man/man9/uiomove.9 Mon Apr 26 07:36:33 2010 +0000
+++ b/share/man/man9/uiomove.9 Mon Apr 26 07:51:36 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index