From 8b77af680f3d0f3d0774ca7c9ae26dee9d9ff2b0 Mon Sep 17 00:00:00 2001 From: ghelmer Date: Thu, 29 Apr 1999 20:32:54 +0000 Subject: [PATCH] The accept(2) call can fail with EINTR (at least in the threaded context). PR: docs/8858 --- lib/libc/sys/accept.2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2 index 041ea5a774ae..1d78ea80450d 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