Loading...
Select Version
&pagelevel(4)&pagelevel
Syntax | #include <unistd.h> pid_t vfork (void); | |
Description |
| |
Return val. | 0 or PID | if successful. 0 is returned to the child process, and the process ID of the child process is returned to the parent process. |
-1 | to the parent process if an error occurs. No child process is generated. | |
Errors | vfork() will fail if | |
| The system-dependent limit to the maximum number of processes possible throughout the system or per user was exceeded. | |
| The swap area is not large enough for the new process. | |
See also |
|