commit | c21a30c787458300beade793df0daf434416bf04 | [log] [tgz] |
---|---|---|
author | zethra <jediben97@gmail.com> | Thu Oct 27 16:01:18 2016 -0400 |
committer | zethra <jediben97@gmail.com> | Thu Oct 27 16:01:18 2016 -0400 |
tree | 5175b0a9f825bd13485cc49da313c5260ac300ff | |
parent | 7d9b71f0971f8fa196d864d7071f216a59036d6e [diff] |
Added tcsetpgrp
diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 3e03eea..0cb3f78 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs
@@ -425,6 +425,7 @@ pub fn nanosleep(rqtp: *const timespec, rmtp: *mut timespec) -> ::c_int; pub fn tcgetpgrp(fd: ::c_int) -> pid_t; + pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int; pub fn ttyname(fd: ::c_int) -> *mut c_char; pub fn unlink(c: *const c_char) -> ::c_int; #[cfg_attr(all(target_os = "macos", target_arch = "x86"),