Skip to content

Commit 210f4b9

Browse files
committed
Rollup merge of rust-lang#25330 - mfs:add-wait-waitpid, r=alexcrichton
r? @alexcrichton
2 parents 866991e + a5cac55 commit 210f4b9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/liblibc/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5722,6 +5722,9 @@ pub mod funcs {
57225722
pub fn tcgetpgrp(fd: c_int) -> pid_t;
57235723
pub fn ttyname(fd: c_int) -> *mut c_char;
57245724
pub fn unlink(c: *const c_char) -> c_int;
5725+
pub fn wait(status: *const c_int) -> pid_t;
5726+
pub fn waitpid(pid: pid_t, status: *const c_int, options: c_int)
5727+
-> pid_t;
57255728
pub fn write(fd: c_int, buf: *const c_void, count: size_t)
57265729
-> ssize_t;
57275730
pub fn pread(fd: c_int, buf: *mut c_void, count: size_t,
@@ -5773,6 +5776,9 @@ pub mod funcs {
57735776
pub fn sysconf(name: c_int) -> c_long;
57745777
pub fn ttyname(fd: c_int) -> *mut c_char;
57755778
pub fn unlink(c: *const c_char) -> c_int;
5779+
pub fn wait(status: *const c_int) -> pid_t;
5780+
pub fn waitpid(pid: pid_t, status: *const c_int, options: c_int)
5781+
-> pid_t;
57765782
pub fn write(fd: c_int, buf: *const c_void, count: size_t)
57775783
-> ssize_t;
57785784
pub fn pread(fd: c_int, buf: *mut c_void, count: size_t,

0 commit comments

Comments
 (0)