On Thu, 29 Jun 2000, Jean-Marc Desperrier wrote:
> > Curiously, is_malloced is never initialized by libtermcao! (Bug? I don't
> > remember whether the C standard requires static variables to be
> > initialized to zero by the runtime environment. Bad style in any case!)
> 
> They require it.

While most good programmers have a habit of explicitly initializing
variables whose initialization matters, just to make things clearer for
the reader, C has *always* guaranteed initialization of static variables
to zero. 

                                                          Henry Spencer
                                                       [EMAIL PROTECTED]

-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/

Reply via email to