4 ms·
Also, even if close() fails, you can no longer use the file descriptor anyway, since it might be already reused. The only thing you should do with the error fro
by ilammy 4y ago
Also, even if close() fails, you can no longer use the file descriptor anyway, since it might be already reused. The only thing you should do with the error from close() is log it to diagnose why it happened and prevent it next time.