summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorghelmer <ghelmer@FreeBSD.org>1999-04-29 20:32:54 +0000
committerghelmer <ghelmer@FreeBSD.org>1999-04-29 20:32:54 +0000
commit8b77af680f3d0f3d0774ca7c9ae26dee9d9ff2b0 (patch)
tree0385585aaebbcb1ba4a06d4d853c1891aaedaf9c /lib
parentbcdf933fad0276458853d00c92945926de3b1381 (diff)
downloadFreeBSD-src-8b77af680f3d0f3d0774ca7c9ae26dee9d9ff2b0.zip
FreeBSD-src-8b77af680f3d0f3d0774ca7c9ae26dee9d9ff2b0.tar.gz
The accept(2) call can fail with EINTR (at least in the threaded context).
PR: docs/8858
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/accept.26
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2
index 041ea5a..1d78ea8 100644
--- a/lib/libc/sys/accept.2
+++ b/lib/libc/sys/accept.2
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)accept.2 8.2 (Berkeley) 12/11/93
-.\" $Id: accept.2,v 1.5 1998/01/11 17:07:20 alex Exp $
+.\" $Id: accept.2,v 1.6 1998/11/16 03:49:39 nectar Exp $
.\"
.Dd December 11, 1993
.Dt ACCEPT 2
@@ -165,6 +165,10 @@ will fail if:
.Bl -tag -width EWOULDBLOCK
.It Bq Er EBADF
The descriptor is invalid.
+.It Bq Er EINTR
+The
+.Fn accept
+operation was interrupted.
.It Bq Er EMFILE
The per-process descriptor table is full.
.It Bq Er ENFILE
OpenPOWER on IntegriCloud