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/libc/sys/read.2 | |
parent | a5d8ac97e2ec9ae3709c55e2703ade9225709528 (diff) |
Split synopsis, plain read/write don't need uio.
Diffstat (limited to 'lib/libc/sys/read.2')
-rw-r--r-- | lib/libc/sys/read.2 | 11 |
1 files changed, 7 insertions, 4 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 |