From 0fe1009c730ca503c9d5876de87af86481b7f4fa Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Mon, 14 May 2001 15:11:28 +0000 Subject: Split synopsis, plain read/write don't need uio. --- lib/libc/sys/read.2 | 11 +++++++---- lib/libc/sys/write.2 | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) (limited to 'lib') 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 -.Fd #include .Fd #include .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 +.Fd #include +.Fd #include +.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 -.Fd #include .Fd #include .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 +.Fd #include +.Fd #include +.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 -- cgit v1.2.3