pub fn tcgetpgrp<Fd: AsFd>(fd: Fd) -> Result<Pid>
Expand description

tcgetpgrp(fd)—Get the terminal foreground process group.

Also known as the TIOCGPGRP operation with ioctl.

References