[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Create child process
Source position: oldlinux.pp line 1350
function Fork: LongInt; |
Fork creates a child process which is a copy of the parent process. Fork returns the process ID in the parent process, and zero in the child's process. (you can get the parent's PID with GetPPid).
On error, -1 is returned to the parent, and no child is created.
|
Execute process using environment |
|
|
Clone current process (create new thread) |
lazarus-ccr.sourceforge.net |