Skip to content

Commit 7f200e6

Browse files
committed
netbsd add pollts fn.
1 parent 1ac780a commit 7f200e6

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
@@ -2276,6 +2276,14 @@ extern "C" {
22762276
policy: ::c_int,
22772277
param: *const ::sched_param,
22782278
) -> ::c_int;
2279+
2280+
#[link_name = "__pollts50"]
2281+
pub fn pollts(
2282+
fds: *mut ::pollfd,
2283+
nfds: ::nfds_t,
2284+
ts: *const ::timespec,
2285+
sigmask: *const ::sigset_t,
2286+
) -> ::c_int;
22792287
}
22802288

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

0 commit comments

Comments
 (0)