Skip to content

Commit 8a7e251

Browse files
committed
Auto merge of #2412 - devnexen:netbsd_pollts, r=JohnTitor
netbsd add pollts fn.
2 parents 238162d + 7f200e6 commit 8a7e251

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

libc-test/semver/netbsd.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1270,6 +1270,7 @@ openat
12701270
openpty
12711271
pause
12721272
pipe2
1273+
pollts
12731274
popen
12741275
posix_madvise
12751276
preadv

src/unix/bsd/netbsdlike/netbsd/mod.rs

+8
Original file line numberDiff line numberDiff line change
@@ -2277,6 +2277,14 @@ extern "C" {
22772277
policy: ::c_int,
22782278
param: *const ::sched_param,
22792279
) -> ::c_int;
2280+
2281+
#[link_name = "__pollts50"]
2282+
pub fn pollts(
2283+
fds: *mut ::pollfd,
2284+
nfds: ::nfds_t,
2285+
ts: *const ::timespec,
2286+
sigmask: *const ::sigset_t,
2287+
) -> ::c_int;
22802288
}
22812289

22822290
#[link(name = "util")]

0 commit comments

Comments
 (0)