Possible Duplicate:
Error handling in C code
I mean, I guess not all languages have exceptions so how I e.g. in C will find out more about a failure?
Possible Duplicate:
Error handling in C code
I mean, I guess not all languages have exceptions so how I e.g. in C will find out more about a failure?
Return error codes from your functions, or a boolean indicating success/failure.