Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
System

Method System.setsid()


Method setsid

int System.setsid()

Description

Set a new process session ID for the current process, and return it.

Note

This function isn't available on all platforms.

Throws

Throws an error if the system call fails.

See also

getpid , setpgrp , getsid