From: dsb@world.std.com (David Boyce) Subject: Re: IMPORTANT [BUG in 0.99] Re: [ANNOUNCE]: linux version 0.99 Date: 29 Dec 1992 18:59:23 GMT
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