Skip to content

Commit

Permalink
Auto merge of #2145 - a1phyr:kqueue1, r=Amanieu
Browse files Browse the repository at this point in the history
Add kqueue1 to NetBSD

Add `kqueue1` to NetBSD as described [in the `man`](https://www.freebsd.org/cgi/man.cgi?query=kqueue1&manpath=NetBSD+9.1).
  • Loading branch information
bors committed Apr 12, 2021
2 parents 895bf0d + 17464be commit 2c40088
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
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
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 2c40088

Please sign in to comment.