sys_brk
or just brk
is used to extend the available memory of a program. When I extend memory it does appear to be zero-initialized. However, I was wondering if this behavior is guaranteed by the operating system, or just a coincidence.
sys_brk
or just brk
is used to extend the available memory of a program. When I extend memory it does appear to be zero-initialized. However, I was wondering if this behavior is guaranteed by the operating system, or just a coincidence.