aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/fsync.c
blob: 348f2144666821a9549a1d75901e470b82aa0be5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <unistd.h>
#include "syscall.h"

int fsync(int fd)
{
	return syscall_cp(SYS_fsync, fd);
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif