3 ms·
There is plenty of memory management in C that has nothing to do with malloc or free. More accurate (on POSIX systems), although not terribly useful, would be:
by dllthomas 13y ago
There is plenty of memory management in C that has nothing to do with malloc or free.
More accurate (on POSIX systems), although not terribly useful, would be:
There is mmap and there is munmap and there is brk.
Anything you do above that (including malloc, static allocation, and the stack) to make your life easier is probably built upon things provided by libc and the C runtime.
On an embedded system, all you might have is "there is RAM".