Fred Cisin wrote:
C actually insists that address 0 is an invalid
address!
Which is one reason why ANSI C on the transputer is such an...
interesting, shall we say, variant of the language. Address
0x00000000 is in the middle of the address space on a
transputer, due to the weird signed nature of addresses.
The compiler quietly changes 0 into 0x80000000 when it's
used as a pointer, so make sure your casts are OK!
--
John Honniball
coredump at gifford.co.uk