summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Miller <kurt@cvs.openbsd.org>2007-03-30 12:46:40 +0000
committerKurt Miller <kurt@cvs.openbsd.org>2007-03-30 12:46:40 +0000
commita8de1993bf8fa6a31fd04c207018d3528de8a5c9 (patch)
tree0c3f162b987ab71a8d5e328270cf18bfb902efa6
parent6004a242b5fa51355aded6303e416dfab3e7b11e (diff)
document accept can return EINTR. ok millert@ jmc@
-rw-r--r--lib/libc/sys/accept.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2
index 34135ceb20b..0f23c01e15a 100644
--- a/lib/libc/sys/accept.2
+++ b/lib/libc/sys/accept.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: accept.2,v 1.18 2005/08/10 00:54:38 jaredy Exp $
+.\" $OpenBSD: accept.2,v 1.19 2007/03/30 12:46:39 kurt Exp $
.\" $NetBSD: accept.2,v 1.7 1996/01/31 20:14:42 mycroft Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
@@ -155,6 +155,8 @@ The descriptor references a file, not a socket.
.It Bq Er EOPNOTSUPP
The referenced socket is not of type
.Dv SOCK_STREAM .
+.It Bq Er EINTR
+A signal was caught before a connection arrived.
.It Bq Er EINVAL
The referenced socket is not listening for connections (that is,
.Xr listen 2