I'm trying to understand the reason behind the introduction of segbrk(2).
I cannot find a use case in the codebase.
The
manual page states that:
The segbrk system call may go away or
be re-implemented to give more general segment control, sub-
suming the functions of brk(2), segflush(2) and segfree in
segattach(2).
But given the manpage itself is pretty cryptic, I wonder if it's outdated. Or if it is actually deprecated.