minix/lib/libc/posix/_fsync.c
2010-06-08 13:58:01 +00:00

12 lines
161 B
C

#include <lib.h>
#define sync _sync
#include <unistd.h>
PUBLIC int fsync(int fd)
{
message m;
m.m1_i1 = fd;
return(_syscall(VFS_PROC_NR, FSYNC, &m));
}