Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/ape-ftruncate/ftruncate.c.orig
#include <sys/types.h> #include <unistd.h> #include <errno.h> int ftruncate(int fd, off_t length) { errno = EINVAL; return -1; }