ref: 4770f60b183231822011b026c3e0aef1b70592ee 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; }