Skip to content

Commit

Permalink
Add kqueue1 to NetBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
a1phyr committed Apr 12, 2021
1 parent 895bf0d commit 17464be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/netbsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1110,6 +1110,7 @@ kevent
key_t
killpg
kqueue
kqueue1
labs
lastlog
lastlogx
Expand Down
2 changes: 2 additions & 0 deletions src/unix/bsd/netbsdlike/netbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2037,6 +2037,8 @@ extern "C" {

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

pub fn kqueue1(flags: ::c_int) -> ::c_int;

pub fn sendmmsg(
sockfd: ::c_int,
msgvec: *mut ::mmsghdr,
Expand Down

0 comments on commit 17464be

Please sign in to comment.