Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

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