Function rustix::termios::tcsetpgrp

source ·
pub fn tcsetpgrp<Fd: AsFd>(fd: Fd, pid: Pid) -> Result<()>
Expand description

tcsetpgrp(fd, pid)—Set the terminal foreground process group.

Also known as the TIOCSPGRP operation with ioctl.

References