User: Password:
|
|
Subscribe / Log in / New account

On the importance of return codes

On the importance of return codes

Posted Dec 3, 2009 19:16 UTC (Thu) by kpfleming (subscriber, #23250)
In reply to: On the importance of return codes by rvfh
Parent article: On the importance of return codes

There are some Linux distributions (Ubuntu I know for sure, Debian may have been the source) that by default enable such checking for library calls provided by glibc; compiling code that does not pay attention to return values results in warnings/errors. It's a start, at least.


(Log in to post comments)


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