Plan 9 from Bell Labs’s /usr/web/sources/patch/sorry/getpid-less-memset/readme
when working on the profiling i noticed, not for the first time, that getpid calls memset to clear the whole buffer, but only the first byte needs to be cleared, which can easily be done directly.