summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/read.2
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-03-02 09:14:21 +0000
committersheldonh <sheldonh@FreeBSD.org>2000-03-02 09:14:21 +0000
commit329223e6f229a55ee8fed800f358f30e994ed749 (patch)
tree5d5e6c715ccfb778a29f10e1ea16f06731edbda8 /lib/libc/sys/read.2
parent05f0a865546b5e0b902987be72a75a7b0ef85d09 (diff)
downloadFreeBSD-src-329223e6f229a55ee8fed800f358f30e994ed749.zip
FreeBSD-src-329223e6f229a55ee8fed800f358f30e994ed749.tar.gz
Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
Diffstat (limited to 'lib/libc/sys/read.2')
-rw-r--r--lib/libc/sys/read.29
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2
index b8c451d..16fe7284 100644
--- a/lib/libc/sys/read.2
+++ b/lib/libc/sys/read.2
@@ -135,7 +135,8 @@ for read, then calls
.Fn _thread_sys_read .
If the call to
.Fn _thread_sys_read
-would block, a context switch is performed. Before returning,
+would block, a context switch is performed.
+Before returning,
.Fn read
unlocks
.Va d .
@@ -158,13 +159,15 @@ for read, then calls
.Fn _thread_sys_readv .
If the call to
.Fn _thread_sys_readv
-would block, a context switch is performed. Before returning,
+would block, a context switch is performed.
+Before returning,
.Fn readv
unlocks
.Va d .
.Sh RETURN VALUES
If successful, the
-number of bytes actually read is returned. Upon reading end-of-file,
+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
OpenPOWER on IntegriCloud