8000 minix/lib/posix/_fsync.c at v3.1.0 · aducode/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
executable file
·
12 lines (9 loc) · 152 Bytes

_fsync.c

File metadata and controls

executable file
·
12 lines (9 loc) · 152 Bytes
#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));
}
0