Re:Malloc Never Fails (2012)
by mehrdadn on Monday June 10, 2019 @07:26AM
(#20145641)
If you're suggesting Linux did not intend its malloc implement the corresponding function in the C standard then you're just lying to yourself. That's exactly why it's there and that's exactly what it's used for.
[ Parent
| on HN ]
> If you're suggesting Linux did not intend its malloc implement
Linux (the kernel) doesn't have malloc. It's part of the C library, which is a completely separate project. What Linux implements is brk and mmap.