pub const TIOCGPGRP: c_ulong = 0x540F;
When successful, equivalent to *argp = tcgetpgrp(fd). Get the process group ID of the foreground process group on this terminal.
*argp = tcgetpgrp(fd)