Method System.getsid()
- Method getsid
intgetsid(int|voidpid)- Description
Get the process session ID for the given process. If pid is not specified, the session ID for the current process will be returned.
- Note
This function is not available on all platforms.
- Throws
Throws an error if the system call fails.
- See also