NAME getsid - get session ID LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include ... getsid(pid_t pid ); Feature Test Macro Requirements for glibc (see feature_test_macroscontrolling terminal. SEE ALSO setsid (1), getsid (2), setpgid (2), setpgrp (2), tcgetsid (3), credentialsgetrlimit (2) 1.0 getrusage (2) 1.0 getsid (2) 2.0 getsockname (2) 2.0 See notes