diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 0cb3f78dd2106..99c2a93c1b1ed 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -414,6 +414,7 @@ extern { pub fn rmdir(path: *const c_char) -> ::c_int; pub fn setgid(gid: gid_t) -> ::c_int; pub fn setpgid(pid: pid_t, pgid: pid_t) -> ::c_int; + pub fn setpgrp() -> pid_t; pub fn setsid() -> pid_t; pub fn setuid(uid: uid_t) -> ::c_int; #[cfg_attr(all(target_os = "macos", target_arch = "x86"),