Skip to content

Commit 0d6554f

Browse files
committed
Auto merge of #3377 - taiki-e:netbsd-nosigpipe, r=JohnTitor
netbsd: Add SO_NOSIGPIPE man: https://man.netbsd.org/setsockopt.2 definition: https://github.com/NetBSD/src/blob/0ad34d8ea3dfe0d551b6e33bbff3b81134c100bb/sys/sys/socket.h#L132
2 parents c6a07e6 + 4dbb6c7 commit 0d6554f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/netbsd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,7 @@ SOCK_RDM
957957
SOMAXCONN
958958
SO_ACCEPTFILTER
959959
SO_NOHEADER
960+
SO_NOSIGPIPE
960961
SO_OVERFLOWED
961962
SO_REUSEPORT
962963
SO_TIMESTAMP

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1527,6 +1527,7 @@ pub const SOCK_FLAGS_MASK: ::c_int = 0xf0000000;
15271527

15281528
pub const SO_SNDTIMEO: ::c_int = 0x100b;
15291529
pub const SO_RCVTIMEO: ::c_int = 0x100c;
1530+
pub const SO_NOSIGPIPE: ::c_int = 0x0800;
15301531
pub const SO_ACCEPTFILTER: ::c_int = 0x1000;
15311532
pub const SO_TIMESTAMP: ::c_int = 0x2000;
15321533
pub const SO_OVERFLOWED: ::c_int = 0x1009;

0 commit comments

Comments
 (0)