posix_setsid

 int posix_setsid ( void ) 

説明

Make the current process a session leader.

戻り値

Returns the session id, or -1 on errors.