Mail Archives: djgpp-workers/1997/11/25/07:31:44
Hi,
I've just checked the values of errno constants in errno.h
against these ones from BSD errno.h and I'm kind of surprised.
They don't match! For example in DJGPP EABIG is equal to 2
while in BSD it is equal to ... 32
Assuming the values of EA* constants don't matter and so we
can change them I want to ask if it doesn't break any codes
if I take the values of EA* constants from BSD errno.h file
and will put these instead of original DJGPP's values?
Would it be O.K ?
I want to change these values because I want to add some more EA*s
that are related to socket errors and so like. I want errno to be
consistently used in all the networking stuff I work on instead of
messing with WSAEA* winsock errors.
What's your opinion?
Wojciech Galazka
- Raw text -