OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34eeb65
)
Enable fdatasync
author
Eric Andersen
<andersen@codepoet.org>
Mon, 14 Jan 2002 08:28:19 +0000
(08:28 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Mon, 14 Jan 2002 08:28:19 +0000
(08:28 -0000)
libc/sysdeps/linux/common/syscalls.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/syscalls.c
b/libc/sysdeps/linux/common/syscalls.c
index
37bc6f0
..
2059c98
100644
(file)
--- a/
libc/sysdeps/linux/common/syscalls.c
+++ b/
libc/sysdeps/linux/common/syscalls.c
@@
-1108,6
+1108,13
@@
_syscall1(pid_t, getsid, pid_t, pid);
#endif
//#define __NR_fdatasync 148
+#ifdef __NR_fdatasync
+#ifdef L_fdatasync
+#include <unistd.h>
+_syscall1(int, fdatasync, int, fd);
+#endif
+#endif
+
//#define __NR__sysctl 149
//#define __NR_mlock 150