Library: unistd.h Prototype: pid_t fork(void); Syntax: pid_t PID PID = fork(); |
On completion, PID will have one of the following values:
> 0 == the childs process ID. 0 == is returned to the child process. < 0 == an error occoured. No child created, errno is set to indicate the problem
Top | Master Index | Keywords | Functions |