LWN.net Logo

When the programmer is forced to handle return codes

When the programmer is forced to handle return codes

Posted Dec 6, 2009 11:31 UTC (Sun) by hppnq (guest, #14462)
In reply to: When the programmer is forced to handle return codes by nix
Parent article: On the importance of return codes

I think the point is that close() will always render the file descriptor unusable: if it doesn't you really cannot close() it again safely, because you've bumped into a kernel bug.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds