summaryrefslogtreecommitdiff
path: root/lib/libc/sys/write.2
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-06-02 09:21:33 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-06-02 09:21:33 +0000
commite545fa6ba880c834afe72937243e38bcefe836af (patch)
treee210380864613bd3e99da31a41fdc9c19dc7c966 /lib/libc/sys/write.2
parent47317191a4ddcea11c10f51af9a7c9b2bff617df (diff)
section reorder;
Diffstat (limited to 'lib/libc/sys/write.2')
-rw-r--r--lib/libc/sys/write.236
1 files changed, 18 insertions, 18 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index 8bc3104c455..1253e1c9f04 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: write.2,v 1.25 2003/04/03 23:12:01 jmc Exp $
+.\" $OpenBSD: write.2,v 1.26 2003/06/02 09:21:32 jmc Exp $
.\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -247,6 +247,23 @@ and
.Fn pwrite
functions conform to
.St -xpg4.2 .
+.Sh HISTORY
+The
+.Fn pwritev
+function call appeared in
+.Ox 2.7 .
+The
+.Fn pwrite
+function call appeared in
+.At V.4 .
+The
+.Fn writev
+function call appeared in
+.Bx 4.2 .
+The
+.Fn write
+function call appeared in
+.At v2 .
.Sh CAVEATS
Error checks should explicitly test for \-1.
Code such as
@@ -267,20 +284,3 @@ Proper loops should use
.Bd -literal
while ((nr = write(fd, buf, sizeof(buf))) != -1 && nr != 0)
.Ed
-.Sh HISTORY
-The
-.Fn pwritev
-function call appeared in
-.Ox 2.7 .
-The
-.Fn pwrite
-function call appeared in
-.At V.4 .
-The
-.Fn writev
-function call appeared in
-.Bx 4.2 .
-The
-.Fn write
-function call appeared in
-.At v2 .