summaryrefslogtreecommitdiff
path: root/lib/libc/sys/read.2
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-10-18 05:12:14 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-10-18 05:12:14 +0000
commitf29d8bd9c9c901b81d8fadc341786c43528e63c1 (patch)
treea5fc4e4696d058bee8f5a8c5498044c06a963bda /lib/libc/sys/read.2
parent906e3d9014b754421b64647e705b3cca2e9a7c01 (diff)
Another round of man page cleanup, this time to remove more hard sentence
breaks and getting rid of short lines, making these files easier to work with.
Diffstat (limited to 'lib/libc/sys/read.2')
-rw-r--r--lib/libc/sys/read.213
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2
index dcded040878..b1471a2e60c 100644
--- a/lib/libc/sys/read.2
+++ b/lib/libc/sys/read.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: read.2,v 1.16 2000/04/20 06:34:37 deraadt Exp $
+.\" $OpenBSD: read.2,v 1.17 2000/10/18 05:12:11 aaron Exp $
.\" $NetBSD: read.2,v 1.6 1995/02/27 12:35:47 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -111,8 +111,8 @@ Upon return from
the pointer is incremented by the number of bytes actually read.
.Pp
Objects that are not capable of seeking always read from the current
-position. The value of the pointer associated with such an
-object is undefined.
+position.
+The value of the pointer associated with such an object is undefined.
.Pp
Upon successful completion,
.Fn read
@@ -135,8 +135,8 @@ exceedes the constant
.Dv IOV_MAX .
.Sh RETURN VALUES
If successful, the
-number of bytes actually read is returned. Upon reading end-of-file,
-zero is returned.
+number of bytes actually read is returned.
+Upon reading end-of-file, zero is returned.
Otherwise, a \-1 is returned and the global variable
.Va errno
is set to indicate the error.
@@ -253,8 +253,7 @@ function appeared in
.At V.4 .
The
.Fn readv
-function call
-appeared in
+function call appeared in
.Bx 4.2 .
The
.Fn read