Sujet : Re: RP2350 and Pico 2 - things missing
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.sys.raspberry-piDate : 30. Aug 2024, 12:11:45
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vas9dh$fb2m$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
User-Agent : Mozilla Thunderbird
On 29/08/2024 20:26, Richard Kettlewell wrote:
The Natural Philosopher <tnp@invalid.invalid> writes:
24 bit pointers were I think quite common, but isn't the 'null
pointer' *defined* to be (Char *)0 ?
Otherwise how could you test for it?
The null pointer you get from (char *)0 (or similar constructions)
doesn’t have to be all bits 0.
https://c-faq.com/null/index.html
Ah, thanks.
Hadn't apprecaied the level of mapping going on during compilation.
-- In theory, there is no difference between theory and practice.In practice, there is.-- Yogi Berra