summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/read.27
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2
index 8b160a61db1..255ac28f218 100644
--- a/lib/libc/sys/read.2
+++ b/lib/libc/sys/read.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: read.2,v 1.19 2001/05/14 15:11:26 espie Exp $
+.\" $OpenBSD: read.2,v 1.20 2001/12/07 23:33:12 millert Exp $
.\" $NetBSD: read.2,v 1.6 1995/02/27 12:35:47 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -158,7 +158,10 @@ is not a valid file or socket descriptor open for reading.
.Fa buf
points outside the allocated address space.
.It Bq Er EIO
-An I/O error occurred while reading from the file system.
+An I/O error occurred while reading from the file system,
+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.