PRIVALLOC(2)PRIVALLOC(2)
privalloc – per-process private storage management
#include <u.h> #include <libc.h>
void** privalloc(void)
Privalloc returns a pointer to a per-process private storage location. The location is not shared among processes, even if they share the same data segments. It returns nil if there are no free slots available.
/sys/src/libc/9sys/privalloc.c
exec(2)