Expose ppoll on some BSDs
This commit is contained in:
parent
6d5aa56e71
commit
871f3b2cf6
@ -922,6 +922,10 @@ extern {
|
||||
pub fn pthread_mutex_timedlock(lock: *mut pthread_mutex_t,
|
||||
abstime: *const ::timespec) -> ::c_int;
|
||||
pub fn pipe2(fds: *mut ::c_int, flags: ::c_int) -> ::c_int;
|
||||
pub fn ppoll(fds: *mut ::pollfd,
|
||||
nfds: nfds_t,
|
||||
timeout: *const ::timespec,
|
||||
sigmask: *const sigset_t) -> ::c_int;
|
||||
}
|
||||
|
||||
cfg_if! {
|
||||
|
Loading…
Reference in New Issue
Block a user