help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'BaseUnix' (#rtl)

FpSetsid

Create a new session.

Declaration

Source position: bunxh.inc line 53

function FpSetsid: TPid;

Description

FpSetsid creates a new session (process group). It returns the new process group id (as returned by FpGetpgrp. This call will fail if the current process is already the process group leader.

Errors

On error, -1 is returned. Extended error information can be retrieved with fpGetErrNo

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505