Module Name: src
Committed By: elric
Date: Fri Aug 2 14:10:46 UTC 2013
Modified Files:
src/lib/libc/sys: accept.2
Log Message:
Update accept(2) to indicate that paccept honours SOCK_NOSIGPIPE in its
flags argument.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libc/sys/accept.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/accept.2
diff -u src/lib/libc/sys/accept.2:1.29 src/lib/libc/sys/accept.2:1.30
--- src/lib/libc/sys/accept.2:1.29 Mon Mar 19 09:34:36 2012
+++ src/lib/libc/sys/accept.2 Fri Aug 2 14:10:46 2013
@@ -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