posix.tcsetpgrp()

posix.tcsetpgrp(fd, pgid)

Set the process group associated with the terminal given by a fd.