Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-unix!husc6!think!ames!ptsfa!hoptoad!academ!killer!pollux!bobkat!m5 From: m5@bobkat.UUCP Newsgroups: comp.lang.c Subject: Re: Query: Implementation with non-zero NULL Message-ID: <1048@bobkat.UUCP> Date: Mon, 1-Jun-87 09:40:19 EDT Article-I.D.: bobkat.1048 Posted: Mon Jun 1 09:40:19 1987 Date-Received: Sun, 7-Jun-87 08:43:18 EDT References: <1217@batcomputer.tn.cornell.edu> Reply-To: m5@bobkat.UUCP (Mike McNally (Man from Mars)) Organization: Digital Lynx, Inc; Dallas, TX Lines: 19 In article <1217@batcomputer.tn.cornell.edu> garry@oak.cadif.cornell.edu writes: >>Are static pointers initialized to all bits zero or to the null value >>(as in ANSI spec)? > >You should NEVER assume a not-explicitly-initialized static variable >is given any particular value by anybody. I thought that static stuff is supposed to be initialized to zero. Have I been confused all these years? I do agree that depending on thusly NULLed pointers is wombly. -- Mike McNally, mercifully employed at Digital Lynx --- Where Plano Road the Mighty Flood of Forest Lane doth meet, And Garland fair, whose perfumed air flows soft about my feet... uucp: {texsun,killer,infotel}!pollux!bobkat!m5 (214) 238-7474