On Tuesday 25 November 2003 08:43, Holger Waechtler wrote:
static variables are initialized to 0 by definition. All variables
marked as 'static' are placed in the .bss section which gets cleared by
the bootloader and the module loader/dynamic linker before code is executed.
This is valid for kernel- and userspace code on all operating systems,
see the usual C references for details.
Yes, if the compiler/loader is not broken. ;-)
:) if you can't rely on this assumption almost no major OS an
application will boot and work -