git: 9front

ref: 09edae2dcd0010e6982134f9cdc8807efa58f1be
dir: /sys/src/ape/lib/ap/plan9/fsync.c/

View raw version
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>

int
fsync(int fd)
{
	errno = EINVAL;
	return -1;
}