[collectd] Question about static initialization
Florian Forster
octo at verplant.org
Thu Aug 14 11:52:18 CEST 2008
Hi again,
On Thu, Aug 14, 2008 at 11:49:56AM +0200, Florian Forster wrote:
> yes, as far as I know static memory is usually initialized to zero, but
> the C standard only guarantees that ``its stored value is initialized
> only once''.
oh, Sebastian is right, C99 6.7.8 indeed states that integers are
initialized to zero. Sorrr..
-octo
--
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080814/cc29fdad/attachment.pgp
More information about the collectd
mailing list