diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/read.2 | 11 | ||||
-rw-r--r-- | lib/libc/sys/write.2 | 11 |
2 files changed, 14 insertions, 8 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2 index 51416c3f1c8..8b160a61db1 100644 --- a/lib/libc/sys/read.2 +++ b/lib/libc/sys/read.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: read.2,v 1.18 2001/02/16 01:56:58 smart Exp $ +.\" $OpenBSD: read.2,v 1.19 2001/05/14 15:11:26 espie Exp $ .\" $NetBSD: read.2,v 1.6 1995/02/27 12:35:47 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -45,14 +45,17 @@ .Nd read input .Sh SYNOPSIS .Fd #include <sys/types.h> -.Fd #include <sys/uio.h> .Fd #include <unistd.h> .Ft ssize_t .Fn read "int d" "void *buf" "size_t nbytes" .Ft ssize_t -.Fn readv "int d" "const struct iovec *iov" "int iovcnt" -.Ft ssize_t .Fn pread "int d" "void *buf" "size_t nbytes" "off_t offset" +.Pp +.Fd #include <sys/types.h> +.Fd #include <sys/uio.h> +.Fd #include <unistd.h> +.Ft ssize_t +.Fn readv "int d" "const struct iovec *iov" "int iovcnt" .Ft ssize_t .Fn preadv "int d" "const struct iovec *iov" "int iovcnt" "off_t offset" .Sh DESCRIPTION diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2 index d5b5e6baae4..bc1d88a3dd8 100644 --- a/lib/libc/sys/write.2 +++ b/lib/libc/sys/write.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: write.2,v 1.22 2001/02/16 01:56:58 smart Exp $ +.\" $OpenBSD: write.2,v 1.23 2001/05/14 15:11:27 espie Exp $ .\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -45,14 +45,17 @@ .Nd write output .Sh SYNOPSIS .Fd #include <sys/types.h> -.Fd #include <sys/uio.h> .Fd #include <unistd.h> .Ft ssize_t .Fn write "int d" "const void *buf" "size_t nbytes" .Ft ssize_t -.Fn writev "int d" "const struct iovec *iov" "int iovcnt" -.Ft ssize_t .Fn pwrite "int d" "const void *buf" "size_t nbytes" "off_t offset" +.Pp +.Fd #include <sys/types.h> +.Fd #include <sys/uio.h> +.Fd #include <unistd.h> +.Ft ssize_t +.Fn writev "int d" "const struct iovec *iov" "int iovcnt" .Ft ssize_t .Fn pwritev "int d" "const struct iovec *iov" "int iovcnt" "off_t offset" .Sh DESCRIPTION |