Hi All,
I want to know if check for return codes for all of functions that we write for production environment. for e,g, i use C a lot and do u catch the return codes for the standard library also, not just the functions that you write , but the 3rd party API/standard library/any other library.
Most code i see in production do not do this. So my question is to the experienced people who have worked in production environments and have been writing production code for like 20 years or so. Do you catch return code from 3rd party API/standard library/any other library, and not just the functions that you implement? just to give an e.g of what i mean say do you catch return codes for the C standard lib functions(snprintf/sprintf,strncat/strcat and so on..,..) of C standard library.
Thanks for all your replies.