3 ms·
Folks wonder why not every error code is checked. My friend Mike Rowe said it this way: it's like having an altimeter in your car. So if you drive off a cliff,
by JoeAltmaier 7y ago
Folks wonder why not every error code is checked. My friend Mike Rowe said it this way: it's like having an altimeter in your car. So if you drive off a cliff, you know how far it is to the ground.
- tedunangst 7y agoThat seems like a really dumb analogy in this context. Calling kill(-1) is not the only possible response to fork() failing.
- korethr 7y agoNot only is that a dumb analogy in this context, it's a plain dumb analogy. That's not how an altimeter works. Not only would you need an altimeter, but also fast and accurate GPS positioning, and current topographical maps of your area in order to know how far it is to the ground below that cliff.