Executes ioctl with the TIOCSPGRP option.
fn ioctl_tiocspgrp(fd: i32, id: i32) -> i32
The file descriptor on which to operate.
The process group id of the foreground process group.
tty_ioctl(2)