summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/read.24
-rw-r--r--lib/libc/sys/write.24
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2
index 4c25c984adb..c39fcf005c8 100644
--- a/lib/libc/sys/read.2
+++ b/lib/libc/sys/read.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: read.2,v 1.13 1999/09/26 16:00:35 espie Exp $
+.\" $OpenBSD: read.2,v 1.14 1999/09/26 16:05:01 espie Exp $
.\" $NetBSD: read.2,v 1.6 1995/02/27 12:35:47 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -207,7 +207,7 @@ to range between
and
.Dv SIZE_MAX
\- 2, in which case the return value of an error-free
-.Nm read
+.Fn read
may appear as a negative number distinct from \-1.
Proper loops should use
.Bd -literal
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index ce5e17a3cdb..71f3aa4cb3f 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: write.2,v 1.15 1999/09/26 16:00:35 espie Exp $
+.\" $OpenBSD: write.2,v 1.16 1999/09/26 16:05:01 espie Exp $
.\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -235,7 +235,7 @@ to range between
and
.Dv SIZE_MAX
\- 2, in which case the return value of an error-free
-.Nm write
+.Fn write
may appear as a negative number distinct from \-1.
Proper loops should use
.Bd -literal