Ryan Bloom wrote: > > You most definitely do not need to make a copy of errno. As proof, we > don't make copies of it anywhere in APR, and it works on every platform > we have tried. > > While errno is not a simple variable, compilers are smart enough to > treat it as if it is a simple variable, so just 'return errno' works > everywhere. >
I am almost positive that errno, in use, is always treated as an integral value. No matter what the underlying implementation is, -- =========================================================================== Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ "A society that will trade a little liberty for a little order will lose both and deserve neither" - T.Jefferson