Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/ape-ftruncate/readme
minimal implementation of ftruncate.