Skip to content

Commit b347e64

Browse files
authored
Merge pull request rust-lang#437 from zethra/master
Added tcsetpgrp
2 parents 7d9b71f + c21a30c commit b347e64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/unix/mod.rs

+1
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)