Just Wondering

Doug Gwyn gwyn at smoke.BRL.MIL
Mon May 1 14:21:12 AEST 1989


In article <232 at celit.UUCP> billd at celerity (Bill Davidson) writes:
>In article <1319 at ns.network.com> ddb at ns.UUCP (David Dyer-Bennet) writes:
>>Just a reminder -- for portable code, externals should still be limited
>>to 6 characters monocase.  
>If there's any justice in the world, OS's that cause this restriction
>will die a well desrved death soon.

I wouldn't argue that there's much justice in today's world,
but anyway you don't have to limit your externals as cited.
If you're coding for maximal portability, you have to be aware
of the mapping that may occur and avoid using external names
that might collide under such mapping, but you don't have to
do the mapping yourself.  If it's going to occur, the compiler,
assembler, and/or linker will do it for you.  If you're coding
for less than full portability, for example strictly for a
POSIX environment, there are much more liberal guarantees for
external identifiers.



More information about the Comp.lang.c mailing list