int posix_setsid ( void )
Make the current process a session leader.
Returns the session id, or -1 on errors.