Hello,
new = (BASEPAGE *)Pexec(7L, (void *)flags, "", 0L);
I haven't found any doc on Pexec(7). Maybe programmer/man/man2/Pexec.2 should be updated.
static short child_global[16];
The use of GEMlib seems good.BTW, just a stupid question: is the static array child_global[] part of the child memory ? Or is it owned by the parent only ?
HTH, Arnaud.