Mail Archives: djgpp-workers/1997/11/25/07:41:11
On Tue, 25 Nov 1997, Wojtek Galazka wrote:
> 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?
Don't! No program should ever look at the actual numeric value of all
the E* symbols used by errno. There's simply no need for what you want
to do, and doing so might get you in trouble, because the library,
internally, still assigns the old numeric values to errno.
You might of course recompile the DJGPP's libc with the new definitions.
But I fail to understand why this is even needed.
- Raw text -