Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libc-test/semver/openbsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1248,6 +1248,7 @@ posix_spawnattr_setschedpolicy
posix_spawnattr_setsigdefault
posix_spawnattr_setsigmask
posix_spawnp
ppoll
preadv
pseudo_AF_HDRCMPLT
pseudo_AF_PFLOW
Expand Down
6 changes: 6 additions & 0 deletions src/unix/bsd/netbsdlike/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,12 @@ extern "C" {
param: *mut sched_param,
) -> c_int;
pub fn pipe2(fds: *mut c_int, flags: c_int) -> c_int;
pub fn ppoll(
fds: *mut crate::pollfd,
nfds: crate::nfds_t,
ts: *const crate::timespec,
sigmask: *const crate::sigset_t,
) -> c_int;

pub fn getgrouplist(
name: *const c_char,
Expand Down
6 changes: 0 additions & 6 deletions src/unix/bsd/netbsdlike/netbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2194,12 +2194,6 @@ extern "C" {
ts: *const crate::timespec,
sigmask: *const crate::sigset_t,
) -> c_int;
pub fn ppoll(
fds: *mut crate::pollfd,
nfds: crate::nfds_t,
ts: *const crate::timespec,
sigmask: *const crate::sigset_t,
) -> c_int;
pub fn getrandom(buf: *mut c_void, buflen: size_t, flags: c_uint) -> ssize_t;

pub fn reboot(mode: c_int, bootstr: *mut c_char) -> c_int;
Expand Down