git: 9front

ref: 4bd9fde0b191325f59fee731f9ae443ef87e2a9c
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;
}