From 845f0d2fb785c45b5cfdf5ce2581d9a88ea84a61 Mon Sep 17 00:00:00 2001 From: elric Date: Fri, 2 Aug 2013 14:10:46 +0000 Subject: [PATCH] Update accept(2) to indicate that paccept honours SOCK_NOSIGPIPE in its flags argument. --- lib/libc/sys/accept.2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2 index fda19764819c..aad6e233f33f 100644 --- a/lib/libc/sys/accept.2 +++ b/lib/libc/sys/accept.2 @@ -1,4 +1,4 @@ -.\" $NetBSD: accept.2,v 1.29 2012/03/19 09:34:36 plunky Exp $ +.\" $NetBSD: accept.2,v 1.30 2013/08/02 14:10:46 elric Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -147,6 +147,8 @@ on the returned file descriptor: Set the close on exec property. .It Dv SOCK_NONBLOCK Sets non-blocking I/O. +.It Dv SOCK_NOSIGPIPE +Return EPIPE instead of raising SIGPIPE. .El .Pp It can also temporarily replace the signal mask of the calling thread if