summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-10-11 09:58:32 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-10-11 09:58:32 +0000
commitcf0136fd85c32cd4566887c40e0100442fd4077a (patch)
treeec7e1f984c575c3637d1e5f624a61ef59b72ac2f
parent353c4eb35ea1c4e7886606ba594a2128b57f2aca (diff)
be specific about what we mean by a "slow device";
kick started by netbsd pr 19603 from kevin p. neal. rillig@netbsd seems to have adapted that, and i have in turn adapted it again; ok otto
-rw-r--r--lib/libc/sys/read.28
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2
index 54a009af257..335500bcad7 100644
--- a/lib/libc/sys/read.2
+++ b/lib/libc/sys/read.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: read.2,v 1.25 2003/10/21 20:00:17 jmc Exp $
+.\" $OpenBSD: read.2,v 1.26 2006/10/11 09:58:31 jmc Exp $
.\" $NetBSD: read.2,v 1.6 1995/02/27 12:35:47 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -158,8 +158,10 @@ or the process is a member of a background process attempting to read
from its controlling terminal, the process is ignoring or blocking
the SIGTTIN signal or the process group is orphaned.
.It Bq Er EINTR
-A read from a slow device was interrupted before
-any data arrived by the delivery of a signal.
+A read from a slow device
+(i.e. one that might block for an arbitrary amount of time)
+was interrupted by the delivery of a signal
+before any data arrived.
.It Bq Er EINVAL
The pointer associated with
.Fa d