std.ps
setsid() -> sid
sid
Create a new session and set the process as session leader
Creates a new session and sets the calling process as the session leader. Returns the session ID (which equals the calling process's PID).