git: 9front

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