repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
secondary cache feature in vm.
[minix.git]
/
lib
/
libc
/
posix
/
_fsync.c
blob
86ef0a5af5d4ff7751c67997209153bd0ad1772c
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
}