git: 9front

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