summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2003-01-12 15:18:47 +0000
committermike <mike@FreeBSD.org>2003-01-12 15:18:47 +0000
commit9a785896535fd824a120133d807af7204b3f1570 (patch)
treea901ccf7bc2f0c8a51c706905a11c41375388a88
parentd7fe2818a2bfee55285de6ba06dc8c4118bb605a (diff)
downloadFreeBSD-src-9a785896535fd824a120133d807af7204b3f1570.zip
FreeBSD-src-9a785896535fd824a120133d807af7204b3f1570.tar.gz
Fix struct iovec documentation to match reality.
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
-rw-r--r--lib/libc/sys/read.22
-rw-r--r--lib/libc/sys/write.22
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2
index da93d6f..2271141 100644
--- a/lib/libc/sys/read.2
+++ b/lib/libc/sys/read.2
@@ -85,7 +85,7 @@ structure is defined as:
.Pp
.Bd -literal -offset indent -compact
struct iovec {
- char *iov_base; /* Base address. */
+ void *iov_base; /* Base address. */
size_t iov_len; /* Length. */
};
.Ed
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index 5f8776f..299dacd 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -85,7 +85,7 @@ structure is defined as:
.Pp
.Bd -literal -offset indent -compact
struct iovec {
- char *iov_base; /* Base address. */
+ void *iov_base; /* Base address. */
size_t iov_len; /* Length. */
};
.Ed
OpenPOWER on IntegriCloud