source:
trunk/minix/lib/posix/_fsync.c@
11
Last change on this file since 11 was 9, checked in by , 14 years ago | |
---|---|
File size: 152 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | #include <lib.h> |
2 | #define sync _sync | |
3 | #include <unistd.h> | |
4 | ||
5 | PUBLIC 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.