get session ID NAME tcgetsid - get session ID LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #define _XOPEN_SOURCE......ground process group ID of this terminal. TIOCGSID When successful, equivalent to *argp = tcgetsid(fd) . Get the session ID of the given terminal. This fails with the error ENOT…...ground process group ID of this terminal. TIOCGSID When successful, equivalent to *argp = tcgetsid(fd) . Get the session ID of the given terminal. This fails with the error ENOT…...ground process group ID of this terminal. TIOCGSID When successful, equivalent to *argp = tcgetsid(fd) . Get the session ID of the given terminal. This fails with the error ENOT…...p of the controlling terminal. SEE ALSO setsid (1), getsid (2), setpgid (2), setpgrp (2), tcgetsid (3), credentials (7), sched (7)...(2), setuid (2), waitpid (2), euidaccess (3), initgroups (3), killpg (3), tcgetpgrp (3), tcgetsid (3), tcsetpgrp (3), group (5), passwd (5), shadow (5), capabilities (7), namesp…