3 ms·
Great post for learning. I posted a similar test of sbrk() coding in my rt0 lib [0]. With less trivial examples, it's interesting to see how various addresses
by oso2k 9y ago
Great post for learning.
I posted a similar test of sbrk() coding in my rt0 lib [0]. With less trivial examples, it's interesting to see how various addresses change as they're used to keep track of what the kernel is doing to the program's virtual address space.
[0] https://github.com/lpsantil/rt0/blob/master/t/sbrk.c https://github.com/lpsantil/rt0/blob/master/t/sbrk.c