diff options
author | pjd <pjd@FreeBSD.org> | 2012-01-22 11:15:48 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2012-01-22 11:15:48 +0000 |
commit | da783c4b78e818e376b972a164fb451689b1bc01 (patch) | |
tree | 5230c9a198770deb41a376a99290e6117ae1833b /lib/libc/sys/read.2 | |
parent | 32d21832e3c3af6cda8e93b3c0faa188700d4333 (diff) | |
download | FreeBSD-src-da783c4b78e818e376b972a164fb451689b1bc01.zip FreeBSD-src-da783c4b78e818e376b972a164fb451689b1bc01.tar.gz |
The sys/uio.h header is needed only for readv(2), preadv(2), writev(2) and
pwritev(2). Document it more precisely.
Reviewed by: jilles
MFC after: 3 days
Diffstat (limited to 'lib/libc/sys/read.2')
-rw-r--r-- | lib/libc/sys/read.2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2 index 19e4ffe..06e0ef1 100644 --- a/lib/libc/sys/read.2 +++ b/lib/libc/sys/read.2 @@ -28,7 +28,7 @@ .\" @(#)read.2 8.4 (Berkeley) 2/26/94 .\" $FreeBSD$ .\" -.Dd October 11, 2006 +.Dd January 22, 2012 .Dt READ 2 .Os .Sh NAME @@ -41,12 +41,12 @@ .Lb libc .Sh SYNOPSIS .In sys/types.h -.In sys/uio.h .In unistd.h .Ft ssize_t .Fn read "int d" "void *buf" "size_t nbytes" .Ft ssize_t .Fn pread "int d" "void *buf" "size_t nbytes" "off_t offset" +.In sys/uio.h .Ft ssize_t .Fn readv "int d" "const struct iovec *iov" "int iovcnt" .Ft ssize_t |