Skip to content

Commit 17464be

Browse files
committed
Add kqueue1 to NetBSD
1 parent 895bf0d commit 17464be

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libc-test/semver/netbsd.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1110,6 +1110,7 @@ kevent
11101110
key_t
11111111
killpg
11121112
kqueue
1113+
kqueue1
11131114
labs
11141115
lastlog
11151116
lastlogx

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

+2
Original file line numberDiff line numberDiff line change
@@ -2037,6 +2037,8 @@ extern "C" {
20372037

20382038
pub fn dup3(src: ::c_int, dst: ::c_int, flags: ::c_int) -> ::c_int;
20392039

2040+
pub fn kqueue1(flags: ::c_int) -> ::c_int;
2041+
20402042
pub fn sendmmsg(
20412043
sockfd: ::c_int,
20422044
msgvec: *mut ::mmsghdr,

0 commit comments

Comments
 (0)