|
Did you #include <errno.h> -- I'm not 100% sure (and too lazy to look it up), but I think you can only access erno in your program if you include this header, which has the declaration (or declare errno yourself, but probably best to include the header).
|