Sascha Schumann wrote: > > > If 'errno' is a function call, how the heck does 'errno = 0;' do > > anything? If it works because the compiler/system treats errno > > as a integral value, then everything else is moot. > > int *func_call(); > #define errno *func_call() >
Exactly... we're still back to integral values. Of course, returning a *int and an int are different (and therefore the above can't be a full implemetation), but the concept still implies that we're integral. -- =========================================================================== 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