M
Markus Elfring
Exactly, in particular there are some linux systems where the headers
I would appreciate if such return value ignorance can be avoided.
http://stackoverflow.com/questions/...n-value-is-unused-for-a-certain-type#12416677
I find this information questionable. I get the impression from one of your
articles that you know also alternative approaches.
http://gustedt.wordpress.com/2012/07/15/capture-return-codes-from-library-functions/
Yes, of course! ;-)
How do think about to forward the error code to a log message for a file like
"stderr" eventually?
Would you like to call the function "abort" if a function call like
"pthread_mutex_destroy" failed?
Is the completion of error detection and corresponding exception handling an
open issue also in the affected wrapper implementation?
Regards,
Markus
are annotated with gcc extensions that make it difficult to ignore the
return of a system function.
I would appreciate if such return value ignorance can be avoided.
http://stackoverflow.com/questions/...n-value-is-unused-for-a-certain-type#12416677
And then, finally, the C11 standard leaves no way to get semantic of a
failed call accros, here.
I find this information questionable. I get the impression from one of your
articles that you know also alternative approaches.
http://gustedt.wordpress.com/2012/07/15/capture-return-codes-from-library-functions/
Do you see a way to use the return value in some way?
Yes, of course! ;-)
How do think about to forward the error code to a log message for a file like
"stderr" eventually?
Would you like to call the function "abort" if a function call like
"pthread_mutex_destroy" failed?
Is the completion of error detection and corresponding exception handling an
open issue also in the affected wrapper implementation?
Regards,
Markus