Not stricly required, but [getpid](http://sml-family.org/Basis/posix-proc-env.html#SIG:POSIX_PROC_ENV.getpid:VAL) would be quite useful.