![]() |
![]()
| ![]() |
![]()
NAMEsnobol4fork - POSIX fork for SNOBOL4 SYNOPSYS-INCLUDE 'fork.sno'
DESCRIPTIONFORK() creates a process: returns 0 in child, process ID in parent. WAITPID() takes an optional process id to wait for, and returns a string with the process id, status, and additional status about the child. options is a string of optional flags (see the waitpid(2) man page for details): GETPID() returns the current process ID. It never fails.
GETPPID() returns the parent process ID. It never fails. SEE ALSOsnobol4(1), fork(2), waitpid(2), getpid(2), getppid(2) AUTHORPhilip L. Budne
|