Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!hplabs!sri-unix!husc6!linus!philabs!gcm!dc From: dc@gcm (Dave Caswell) Newsgroups: comp.lang.c Subject: Re: Caution for those considering MSC 5.0 Message-ID: <417@white.gcm> Date: 28 Feb 88 01:52:43 GMT References: <11754@brl-adm.ARPA> <66@obie.UUCP> Reply-To: dc@white.UUCP (Dave Caswell) Organization: Greenwich Capital Markets, Greenwich, CT Lines: 20 In article <66@obie.UUCP> wes@obie.UUCP (Barnacle Wes) writes: ) )> but isn't all global data implicitly )> initialized to zero if not otherwise specified? ) )No, as a matter of fact, it ISN'T supposed to be zeroed, it's supposed )to be left as it was! MSC isn't wrong here, your code is wrong )because it was written to work with Turbo C, which is wrong. You are wrong wrong wrong. In article <61@obie.UUCP>, wes@obie.UUCP (Barnacle Wes) writes: ) Try Stephen Kochan's book "Programming in C" from Hayden Books. As a ) matter of fact, Hayden has a "Hayden Books Unix System Library," which ) is edited by Kochan and Pat Wood, all of which I have found useful. ) I've heard there is a book on Unix communications in this series which ) I am still looking for. I heartily recommend any book in this series Do these books really say that globals are not initialized to zero? If so they are worthless.