Add `getpgid`.

This commit is contained in:
Corey Farwell 2016-08-03 08:21:45 -04:00
parent d85f265099
commit 68dba7ab5a
1 changed files with 1 additions and 0 deletions

View File

@ -381,6 +381,7 @@ extern {
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;