minix/lib/posix/_fsync.c

13 lines
152 B
C
Raw Normal View History

2005-09-05 23:22:45 +02:00
#include <lib.h>
#define sync _sync
#include <unistd.h>
PUBLIC int fsync(int fd)
{
message m;
m.m1_i1 = fd;
return(_syscall(FS, FSYNC, &m));
}