Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!ark
From: ark@alice.UucP (Andrew Koenig)
Newsgroups: net.lang.c
Subject: Re: Global ptrs init to NULL or 0000?
Message-ID: <4513@alice.UUCP>
Date: Sun, 3-Nov-85 01:34:18 EST
Article-I.D.: alice.4513
Posted: Sun Nov  3 01:34:18 1985
Date-Received: Sun, 3-Nov-85 16:53:40 EST
References: <772@whuxl.UUCP>
Organization: Bell Labs, Murray Hill
Lines: 8

> 
> I've got a question:  can one assume that uninitialised global/static
> pointers will init to NULL or will they be filled with 0 bytes?  This
> obviously doesn't make any difference on machines where NULL pointers
> have all 0 bits, but what about the ones that don't?

You are entitled to assume that an otherwise uninitialized global or
static item has the same value that it would have if you assigned 0 to it.