summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-02-15 16:20:49 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-02-15 16:20:49 +0000
commit940d253f894e8ee0eb69d89fc826c324561a9fb7 (patch)
tree95c9c2b175eac4dc1651a2429af0c3d0cda32d6d /libc
parent0ba092c1c9d7ff6091a80db79d4d6b26162ad50c (diff)
Add bdflush.
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 6b07fab5c..a8348bbdc 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -886,6 +886,11 @@ _syscall1(int, fchdir, int, fd);
#endif
//#define __NR_bdflush 134
+#ifdef L_bdflush
+#include <sys/kdaemon.h>
+
+_syscall2(int, bdflush, int, __func, long int, __data);
+#endif
//#define __NR_sysfs 135