Closed beatgammit closed 8 years ago
A negative return from fork() indicates an error forking, in which case no child process is created. If this happens, crash hard.
This is a very unlikely edge case, but I've had cases where fork fails because of ulimit rules and whatnot, so may as well handle this case.
Thanks! Sorry for the delay; I've been distracted lately.
A negative return from fork() indicates an error forking, in which case no child process is created. If this happens, crash hard.
This is a very unlikely edge case, but I've had cases where fork fails because of ulimit rules and whatnot, so may as well handle this case.