Re:In C, how do you know if the dynamic allocation succeeded?
by wmf on Friday November 05, 2021 @04:18PM
(#29124292)
I guess you could mlock() your memory and see if that succeeds or fails. When overcommit is enabled no memory is really safe.
[ Parent
| on HN ]
There are no comments on this comment yet.