The fork() - Read
If fork() returns a negative value, the creation of a child process was unsuccessful
. fork() returns ... The returned process ID is of type pid_t defined in sys/types.h.
If fork() returns a negative value, the creation of a child process was unsuccessful
. fork() returns ... The returned process ID is of type pid_t defined in sys/types.h.