5 ms·
This is not a good idea. You're venturing in the unspecified/non-portable behavior territory. https://pubs.opengroup.org/onlinepubs/7908799/xsh/brk.html https:
by halayli 10mo ago
This is not a good idea. You're venturing in the unspecified/non-portable behavior territory.
https://pubs.opengroup.org/onlinepubs/7908799/xsh/brk.html https://pubs.opengroup.org/onlinepubs/7908799/xsh/brk.html
> The behaviour of brk() and sbrk() is unspecified if an application also uses any other memory functions (such as malloc(), mmap(), free()). Other functions may use these other memory functions silently.
- oguz-ismail 10mo ago[dead]