source: trunk/minix/lib/posix/_fsync.c@ 22

Last change on this file since 22 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 152 bytes
Line 
1#include <lib.h>
2#define sync _sync
3#include <unistd.h>
4
5PUBLIC int fsync(int fd)
6{
7 message m;
8
9 m.m1_i1 = fd;
10
11 return(_syscall(FS, FSYNC, &m));
12}
Note: See TracBrowser for help on using the repository browser.