ref: dbf165e1bdcc65d94ed9c0d70e5d24df5ad4fc8f dir: /sys/src/ape/lib/ap/plan9/fsync.c/
#include <sys/types.h> #include <unistd.h> #include <errno.h> int fsync(int fd) { errno = EINVAL; return -1; }