Function nix::unistd::tcsetpgrp

source ยท
pub fn tcsetpgrp<F: AsFd>(fd: F, pgrp: Pid) -> Result<()>
Expand description

Set the terminal foreground process group (see tcgetpgrp(3)).

Get the group process id (PGID) to the foreground process group on the terminal associated to file descriptor (FD).