Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Update accept(2) to indicate that paccept honou...



details:   https://anonhg.NetBSD.org/src/rev/f13ae37eac92
branches:  trunk
changeset: 788991:f13ae37eac92
user:      elric <elric%NetBSD.org@localhost>
date:      Fri Aug 02 14:10:46 2013 +0000

description:
Update accept(2) to indicate that paccept honours SOCK_NOSIGPIPE in its
flags argument.

diffstat:

 lib/libc/sys/accept.2 |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r a804725583a0 -r f13ae37eac92 lib/libc/sys/accept.2
--- a/lib/libc/sys/accept.2     Fri Aug 02 07:29:56 2013 +0000
+++ b/lib/libc/sys/accept.2     Fri Aug 02 14:10:46 2013 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index