minix/lib/posix/_fsync.c
2005-09-05 21:22:45 +00:00

12 lines
152 B
C
Executable file

#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));
}