Skip to content

Commit 111e9fe

Browse files
committed
Auto merge of #2248 - devnexen:netbsd_waitid, r=JohnTitor
adding waitid call to netbsd close #2243
2 parents 570fb1b + 2da7608 commit 111e9fe

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

libc-test/semver/netbsd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,3 +1296,4 @@ utmpxname
12961296
utpname
12971297
vm_size_t
12981298
wait4
1299+
waitid

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2089,6 +2089,13 @@ extern "C" {
20892089
timeout: *const ::timespec,
20902090
) -> ::c_int;
20912091
pub fn sigwaitinfo(set: *const sigset_t, info: *mut siginfo_t) -> ::c_int;
2092+
pub fn waitid(
2093+
idtype: idtype_t,
2094+
id: ::id_t,
2095+
infop: *mut ::siginfo_t,
2096+
options: ::c_int,
2097+
) -> ::c_int;
2098+
20922099
pub fn duplocale(base: ::locale_t) -> ::locale_t;
20932100
pub fn freelocale(loc: ::locale_t);
20942101
pub fn localeconv_l(loc: ::locale_t) -> *mut lconv;

0 commit comments

Comments
 (0)