From a8de1993bf8fa6a31fd04c207018d3528de8a5c9 Mon Sep 17 00:00:00 2001 From: Kurt Miller Date: Fri, 30 Mar 2007 12:46:40 +0000 Subject: document accept can return EINTR. ok millert@ jmc@ --- lib/libc/sys/accept.2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libc/sys') 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 -- cgit v1.2.3