chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PATCH] small ide-devfs.sh fix
[elogind.git]
/
klibc
/
klibc
/
fdatasync.c
1
/*
2
* fdatasync.c
3
*
4
* Some systems don't have this (alpha?) ... this is really a bug,
5
* but mimic using fsync()
6
*/
7
8
#include <unistd.h>
9
#include <sys/syscall.h>
10
11
#ifndef __NR_fdatasync
12
#define __NR_fdatasync __NR_fsync
13
#endif
14
15
_syscall1(int,fdatasync,int,fd);