git: 9front

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