Hi there! erm, I don't know if this will lessen any confusion at all, but from what I've read 0 is FALSE and everything else is true... -1 is on Intel all binary ones I think? I dunno... But it might be better (this is what W. R. Stevens the Great does, if I recall correctly) to say something like: if (ret < 0) /* (ret < 0) instead of (ret) */ foo(); else if (!ret) bar(); else baz(); Hope that helps.... :) Have a nice day :) -Brett
- ! = -1? James [on his mailserver]
- Re: ! = -1? Colin Campbell
- Re: ! = -1? James [on his mailserver]
- Re: ! = -1? Brett Thompson
- Re: ! = -1? Ken Dunn
