Skip to content

Commit 737aca2

Browse files
authored
Auto merge of #437 - zethra:master, r=alexcrichton
Added tcsetpgrp I added the missing tcsetpgrp function
2 parents 7d9b71f + c21a30c commit 737aca2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ extern {
425425
pub fn nanosleep(rqtp: *const timespec,
426426
rmtp: *mut timespec) -> ::c_int;
427427
pub fn tcgetpgrp(fd: ::c_int) -> pid_t;
428+
pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int;
428429
pub fn ttyname(fd: ::c_int) -> *mut c_char;
429430
pub fn unlink(c: *const c_char) -> ::c_int;
430431
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),

0 commit comments

Comments
 (0)