From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius) Subject: Re: IMPORTANT [BUG in 0.99] Re: [ANNOUNCE]: linux version 0.99 Date: 30 Dec 1992 01:39:13 GMT
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.