[Overview][Constants][Types][Procedures and functions][Variables] | Reference for unit 'oldlinux' (#rtl) |
Wait for a process to terminate
Source position: oldlinux.pp line 1354
function WaitPid( |
Pid: LongInt; |
Status: pointer; |
Options: LongInt |
):LongInt; |
WaitPid waits for a child process with process ID Pid to exit. The value of Pid can be one of the following:
The Options parameter can be used to specify further how WaitPid behaves:
Upon return, it returns the exit status of the process, or -1 in case of failure.
For an example, see Fork.
Errors are returned in LinuxError.
|
Create child process |
|
|
Execute process using environment |
No notes exist for this page yet.