fn tcgetpgrp(handle: fd_t) TermioGetPgrpError!pid_t

Returns the process group ID for the TTY associated with the given handle.

Parameters

handle: fd_t,