Referencing NULL pointers
Tom Neff
tneff at bfmny0.UUCP
Tue Aug 29 00:14:45 AEST 1989
I would also point out:
(1) A truly portable application is unlikely to have any legitimate need
to mess with things at "real" address 0. Lots of system-y type programs
might have an excuse (it's a manipulable interrupt vector location in
the Intel architectures for instance) but by definition they are not
very portable.
(2) In architectures where accessing address 0 is a legitimate concern,
good compilers will probably provide a non-ANSI non-portable extension
of some kind to let you do it. The pANS is not a nursemaid.
--
"We walked on the moon -- (( Tom Neff
you be polite" )) tneff at bfmny0.UU.NET
More information about the Comp.lang.c
mailing list