When I use C programs, many of them defines their own error mechanisms. For that cases, I can follow their definition. How about C base libraries? Is it enough with only errno?
When I use C programs, many of them defines their own error mechanisms. For
Share
You have to look at each function you call and then handle the return value or
errnosetting as appropriate. There is no general error handling (e.g. exceptions) beyond that.