Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: