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
This commit is contained in:
parent
32d21832e3
commit
da783c4b78
@ -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
|
||||
|
@ -28,7 +28,7 @@
|
||||
.\" @(#)write.2 8.5 (Berkeley) 4/2/94
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd July 7, 2005
|
||||
.Dd January 22, 2012
|
||||
.Dt WRITE 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 write "int d" "const void *buf" "size_t nbytes"
|
||||
.Ft ssize_t
|
||||
.Fn pwrite "int d" "const void *buf" "size_t nbytes" "off_t offset"
|
||||
.In sys/uio.h
|
||||
.Ft ssize_t
|
||||
.Fn writev "int d" "const struct iovec *iov" "int iovcnt"
|
||||
.Ft ssize_t
|
||||
|
Loading…
Reference in New Issue
Block a user