Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
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