POSIX Functions
PHP Manual

posix_setsid

(PHP 4, PHP 5)

posix_setsidMake the current process a session leader

Description

int posix_setsid ( void )

Make the current process a session leader.

Return Values

Returns the session id, or -1 on errors.

See Also


POSIX Functions
PHP Manual