commit | 68dba7ab5abeaa28e53cba396246288bbc0fd7af | [log] [tgz] |
---|---|---|
author | Corey Farwell <coreyf@rwell.org> | Wed Aug 03 08:21:45 2016 -0400 |
committer | Corey Farwell <coreyf@rwell.org> | Wed Aug 03 08:21:45 2016 -0400 |
tree | b9c48c316c805d1bef03da943f651d06c76af6b2 | |
parent | d85f265099a5bbaca3d0d3286c21f63e74437892 [diff] |
Add `getpgid`.
diff --git a/src/unix/mod.rs b/src/unix/mod.rs index d2ae4ea..648a7aa 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs
@@ -381,6 +381,7 @@ link_name = "getopt$UNIX2003")] pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_char) -> ::c_int; + pub fn getpgid(pid: pid_t) -> pid_t; pub fn getpgrp() -> pid_t; pub fn getpid() -> pid_t; pub fn getppid() -> pid_t;