Re: trim whitespace v3



On Mon, 23 Aug 2010 12:17:16 -0700, Keith Thompson <kst-u@xxxxxxx>
wrote:

Or it might be defined in some implementation-defined header;
POSIX defines all its non-C-standard E* macros in <errno.h>,
and the C standard encourages this, but other systems might
behave differently. In that case, I'd suggest checking the
documentation first. Just because you happen to find the definition
in /usr/include/asm-generic/errno.h, that doesn't mean you should
write #include <asm-generic/errno.h>.

Right.

I'm not suggesting that he #inlcude low-level headers. But that can
help him learn where the constants reside, and then backtrack to figure
out what main headers are needed, if the constants exist somewhere in
his environment.


--
Web mail, POP3, and SMTP
http://www.beewyz.com/freeaccounts.php

.