Wrapper around fallocate syscall on x86.
authordrepper <drepper>
Sat, 15 Sep 2007 22:37:31 +0000 (22:37 +0000)
committerdrepper <drepper>
Sat, 15 Sep 2007 22:37:31 +0000 (22:37 +0000)
sysdeps/unix/sysv/linux/i386/call_fallocate.S [new file with mode: 0644]

diff --git a/sysdeps/unix/sysv/linux/i386/call_fallocate.S b/sysdeps/unix/sysv/linux/i386/call_fallocate.S
new file mode 100644 (file)
index 0000000..39ab797
--- /dev/null
@@ -0,0 +1,7 @@
+#include <sysdep.h>
+
+#ifdef __NR_fallocate
+PSEUDO_ERRVAL (__call_fallocate, fallocate, 6)
+ ret_ERRVAL
+PSEUDO_END_ERRVAL(__call_fallocate)
+#endif