home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22055 < prev    next >
Encoding:
Text File  |  1992-12-29  |  974 b   |  26 lines

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