[klibc] [klibc 30/31] Remove in-kernel resume-from-disk invocation code
H. Peter Anvin
hpa at zytor.com
Wed Jul 5 21:07:21 PDT 2006
Nigel Cunningham wrote:
> Hi again.
>
> (Trimming the ccs - hope that's ok).
>
> I have one more question, if I may: since klibc is userspace, I can't assume
> variables are init'd to zero, can I? (being built as part of the kernel tree
> doesn't invalidate that assumption?)
>
Static variables are initialized to zero; that is guaranteed by the C
standard.
Automatic (stack) variables, of course, are uninitialized.
In other words, the rules are exactly the same as in the kernel.
-hpa
More information about the klibc
mailing list