weekend project: porting ralloc to a new OS.
weekend problem: figuring out how ralloc determines brk() when the program starts.
SO is amazingly not useful because everyone says "use sbrk(0)" which isn't helpful because sbrk()'s documentation says it uses some internal magic and brk() to determine the original brk().
It's the equivalent of being asked to make a hammer using only hammers but you're not allowed to use hammers.
This is an unofficial Manechat Mastodon server, all users from Manechat are invited to join!