diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2001-05-14 15:11:28 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2001-05-14 15:11:28 +0000 |
commit | 0fe1009c730ca503c9d5876de87af86481b7f4fa (patch) | |
tree | 14b4aad25be07e2a32c20dafd355cdf155c08f8b /lib | |
parent | a5d8ac97e2ec9ae3709c55e2703ade9225709528 (diff) |
Split synopsis, plain read/write don't need uio.
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 |