diff options
author | bors <bors@rust-lang.org> | 2021-09-24 11:23:57 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2021-09-24 11:23:57 +0000 |
commit | 8a7e251c0e8403c0084151bd9853f405e7b4b954 (patch) | |
tree | b2d3c44865d4901515c983f61be9caa1161b8644 /src/unix/bsd/netbsdlike/netbsd/mod.rs | |
parent | 238162dd6aa36647ea1600026f3b1068c557185f (diff) | |
parent | 7f200e61c3201e3362f60813f1e4c9b5e36f2181 (diff) | |
download | rust-libc-8a7e251c0e8403c0084151bd9853f405e7b4b954.tar.gz |
Auto merge of #2412 - devnexen:netbsd_pollts, r=JohnTitor
netbsd add pollts fn.
Diffstat (limited to 'src/unix/bsd/netbsdlike/netbsd/mod.rs')
-rw-r--r-- | src/unix/bsd/netbsdlike/netbsd/mod.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unix/bsd/netbsdlike/netbsd/mod.rs b/src/unix/bsd/netbsdlike/netbsd/mod.rs index 18d6137041..5946dbeaa8 100644 --- a/src/unix/bsd/netbsdlike/netbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/netbsd/mod.rs @@ -2277,6 +2277,14 @@ extern "C" { policy: ::c_int, param: *const ::sched_param, ) -> ::c_int; + + #[link_name = "__pollts50"] + pub fn pollts( + fds: *mut ::pollfd, + nfds: ::nfds_t, + ts: *const ::timespec, + sigmask: *const ::sigset_t, + ) -> ::c_int; } #[link(name = "util")] |