Object-oriented design patterns in the kernel, part 1
Posted Jun 1, 2011 15:58 UTC (Wed) by
JoeBuck (subscriber, #2330)
In reply to:
Object-oriented design patterns in the kernel, part 1 by mb
Parent article:
Object-oriented design patterns in the kernel, part 1
C guarantees that static and global pointers are initialized to null, but local (stack) pointers are uninitialized, and pointers allocated from the heap aren't initialized unless the allocation function explicitly does it.
(
Log in to post comments)