ID EN
OS

tcgetpgrp

Python 3.11

Return the process group associated with the terminal given by fd (an open file descriptor as returned by os.open()).

Syntax

PYTHON
os.tcgetpgrp(fd, /)

See Also

os.open() Availability