summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2006-10-11 09:58:31 +0000
committerjmc <jmc@openbsd.org>2006-10-11 09:58:31 +0000
commit69916cc4a0313163eaa3ced938f77562f23fba18 (patch)
tree92684df9f9d1361aa2fa46a1e42924e1cddd9f42
parentdocument IP_RECVTTL and IP_MINTTL (diff)
downloadwireguard-openbsd-69916cc4a0313163eaa3ced938f77562f23fba18.tar.xz
wireguard-openbsd-69916cc4a0313163eaa3ced938f77562f23fba18.zip
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