summaryrefslogtreecommitdiff
path: root/lib/libc/sys/write.2
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>2001-10-16 16:03:35 +0000
committerkleink <kleink@NetBSD.org>2001-10-16 16:03:35 +0000
commit4d9619365dfdfd4b289a24fe9e5ff524c1de8b93 (patch)
tree72fc33028db32134acd3ef5f8bf6ff74ff9ba3d9 /lib/libc/sys/write.2
parent1242c3de7246969d7f1f1369be0a29035335c9a6 (diff)
Clean up synopsis somewhat:
* only associate S/G interfaces with <sys/uio.h> (and only that header); * drop <sys/types.h> entirely, as it is no longer needed.
Diffstat (limited to 'lib/libc/sys/write.2')
-rw-r--r--lib/libc/sys/write.211
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index 51729ac9ca8..589fc6ad4d1 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: write.2,v 1.16 2001/09/16 01:39:03 wiz Exp $
+.\" $NetBSD: write.2,v 1.17 2001/10/16 16:03:35 kleink Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)write.2 8.5 (Berkeley) 4/2/94
.\"
-.Dd April 2, 1994
+.Dd October 16, 2001
.Dt WRITE 2
.Os
.Sh NAME
@@ -45,15 +45,14 @@
.Sh LIBRARY
.Lb libc
.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"
+.Fd #include <sys/uio.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