Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.7.0.10 $; site uiucdcsb Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!inuxc!pur-ee!uiucdcsb!kenny From: kenny@uiucdcsb.CS.UIUC.EDU Newsgroups: net.lang.c Subject: Re: Global ptrs init to NULL or 0000? Message-ID: <139200016@uiucdcsb> Date: Fri, 8-Nov-85 17:44:00 EST Article-I.D.: uiucdcsb.139200016 Posted: Fri Nov 8 17:44:00 1985 Date-Received: Sun, 10-Nov-85 08:36:24 EST References: <772@whuxl.UUCP> Lines: 18 Nf-ID: #R:whuxl.UUCP:772:uiucdcsb:139200016:000:423 Nf-From: uiucdcsb.CS.UIUC.EDU!kenny Nov 8 16:44:00 1985 OK, so what does static union { int i; char *p; } foo; get initialized to on a machine with a non-0 NULL? Incidentally, something like this appears in a LOT of UN*X programs, and is a MAJOR headache in attempting to port to a machine with a non-0 NULL. k**2 Kevin Kenny kenny@Uiuc.ARPA kenny@Uiuc.CSNET ...!ihnp4!pur-ee!uiucdcs!kenny Opinions expressed herein will attach themselves to anyone that claims them.