3 ms·
In some other languages, a failed write will kill your application with an IO exception. Or at the very least (in Java) the exception will hit a handler that yo
by TeMPOraL 8y ago
In some other languages, a failed write will kill your application with an IO exception. Or at the very least (in Java) the exception will hit a handler that you are forced to write. The point being, those languages are designed to force a different code path on you in situations like failed IO, and people writing standard libraries make sure to check return values of C calls and throw exceptions if they're bad.