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_macrosprocess can obtain its session ID using getsid (2), and its process group ID using ... getpgrp (2), getpid (2), getppid (2), getsid (2), kill (2), setegid (2), seteuid (2), setfsgi…controlling terminal. SEE ALSO setsid (1), getsid (2), setpgid (2), setpgrp (2), tcgetsid (3), credentialsgetpwnam (3), getresgid (2), getresuid (2), getsid (2), gettid (2), getuid (2), kill (2), pidfdgetpwnam (3), getresgid (2), getresuid (2), getsid (2), gettid (2), getuid (2), kill (2), pidfdgetpwnam (3), getresgid (2), getresuid (2), getsid (2), gettid (2), getuid (2), kill (2), pidfdgetpwnam (3), getresgid (2), getresuid (2), getsid (2), gettid (2), getuid (2), kill (2), pidfdprocesses except both session leaders (see getsid (2)) and processes not associated with a terminalCOMPAT32 int32_t ut_session; /* Session ID ( getsid (2)), used for windowing */ struct { int32COMPAT32 int32_t ut_session; /* Session ID ( getsid (2)), used for windowing */ struct { int32COMPAT32 int32_t ut_session; /* Session ID ( getsid (2)), used for windowing */ struct { int32getrlimit (2) 1.0 getrusage (2) 1.0 getsid (2) 2.0 getsockname (2) 2.0 See notes