3 ms·
malloc() is defined by the C Standard. If you want to claim your compiler is ANSI or ISO certified, you need to support malloc() (as well as the rest of the C
by spc476 4y ago
malloc() is defined by the C Standard. If you want to claim your compiler is ANSI or ISO certified, you need to support malloc() (as well as the rest of the C Standard library).
- pjmlp 4y agoQuite right, except we are then talking about compilers and not OS APIs. UNIXes are the only OSes were there is an overlapping between OS APIs and libc due to C's origin.