Roland Mainz wrote: > Darren J Moffat wrote: >> Is the highest errno really fixed ? > > Erm... why do you think that there is a limit (except |SHRT_MAX|) ?
I seem to recall that there actually is a legacy problem here because the sys_errlist[] table was stuffed into a fixed size and location buffer (probably in SunOS 4.x), meaning that new errnos can never be allocated. It'd be nice if PSARC 1998/102 were published; I think that's the one that discussed the issue. I don't know whether it's still an issue, so it's good that Darren brought it up. (Expedient choices like using absolute addresses and macros that refer to structure members eventually end up costing you something ...) -- James Carlson 42.703N 71.076W <carlsonj at workingcode.com>