home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!world!dsb
- From: dsb@world.std.com (David Boyce)
- Subject: Re: IMPORTANT [BUG in 0.99] Re: [ANNOUNCE]: linux version 0.99
- Message-ID: <C01BF0.LMJ@world.std.com>
- Organization: The World Public Access UNIX, Brookline, MA
- References: <1992Dec19.222324.22106@klaava.Helsinki.FI> <1hpsasINN6e@meaddata.meaddata.com>
- Date: Tue, 29 Dec 1992 18:59:23 GMT
- Lines: 15
-
- In article <1hpsasINN6e@meaddata.meaddata.com> sdw@meaddata.com (Stephen Williams) writes:
- >Statics are either explicitly initialized or they are not.
- >If they are not, their contents are UNDEFINED until set.
- >This is per ANSI C.
- >
- >There is NO requirement of the compiler or system to zero
- >un-initialized statics (or auto's).
-
- Quoting from the ANSI C Reference Manual in K&R 2nd edition, page 219:
-
- "A static object not explicitly initialized is initialized as if it
- (or its members) were assigned the constant 0."
-
- --
- David Boyce dsb@world.std.com 617-576-1540
-