Extracted from Pike v8.0 release 358 as of 2016-11-23.
   

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