Function otter_api_tests::unistd::tcgetpgrp [−]
pub fn tcgetpgrp(fd: i32) -> Result<Pid, Error>
Expand description
Get the terminal foreground process group (see tcgetpgrp(3)).
Get the group process id (GPID) of the foreground process group on the terminal associated to file descriptor (FD).