summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-09-21 14:24:16 +0000
committerschwarze <schwarze@openbsd.org>2017-09-21 14:24:16 +0000
commita9db812329d4e4b8969f7c19be4ede044aaace51 (patch)
treeaae3426ad33bb2ed40453fcb65f45971190808e8 /lib/libc
parentEnsure proper order of register accesses by readback after write. (diff)
downloadwireguard-openbsd-a9db812329d4e4b8969f7c19be4ede044aaace51.tar.xz
wireguard-openbsd-a9db812329d4e4b8969f7c19be4ede044aaace51.zip
tweak previous: remove trailing blank and improve a wording;
requested by jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/write.28
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index 7aa57dec82f..c1686b1a910 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: write.2,v 1.40 2017/09/20 18:41:55 schwarze Exp $
+.\" $OpenBSD: write.2,v 1.41 2017/09/21 14:24:16 schwarze Exp $
.\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)write.2 8.5 (Berkeley) 4/2/94
.\"
-.Dd $Mdocdate: September 20 2017 $
+.Dd $Mdocdate: September 21 2017 $
.Dt WRITE 2
.Os
.Sh NAME
@@ -156,7 +156,7 @@ Otherwise, a \-1 is returned and the global variable
.Va errno
is set to indicate the error.
.Sh EXAMPLES
-The typical loop allowing partial writes looks like this:
+A typical loop allowing partial writes looks like this:
.Bd -literal
const char *buf;
size_t bsz, off;
@@ -327,5 +327,5 @@ is larger than
.Dv SSIZE_MAX
but smaller than
.Dv SIZE_MAX
-\- 2, the return value of an error-free call
+\- 2, the return value of an error-free call
may appear as a negative number distinct from \-1.