Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
System

Method System.setsid()


Method setsid

int 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