ref: 55a366e766eca4252ab8549212f59dcae6827d7c 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; }