home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!wirzeniu
- From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
- Subject: Re: IMPORTANT [BUG in 0.99] Re: [ANNOUNCE]: linux version 0.99
- Message-ID: <1992Dec30.013913.1919@klaava.Helsinki.FI>
- Organization: University of Helsinki
- References: <1hpsasINN6e@meaddata.meaddata.com> <20502@ksr.com> <mcampbel.725666039@eola.cs.ucf.edu>
- Date: Wed, 30 Dec 1992 01:39:13 GMT
- Lines: 11
-
- mcampbel@cs.ucf.edu (Mike Campbell ) writes:
- >If you NEEDED to initialize it, you would lose the value of the variable
- >every time the function was called, nullifying the advantage statics have
- >in functions, (namely holding a value out of visibility).
-
- No, statics are initialized only once, at program startup, even if
- they are inside functions, not every time the function is entered.
-
- --
- Lars.Wirzenius@helsinki.fi (finger wirzeniu@klaava.helsinki.fi)
- MS-DOS, you can't live with it, you can live without it.
-