summaryrefslogtreecommitdiff
path: root/src/fcntl
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-08 00:41:11 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-08 00:41:11 -0400
commitb72db3d1ed561d31d059acc7e9a5aacb8c5ee9ac (patch)
tree07660b118a24aa461f385da8a2c59a055c8abb46 /src/fcntl
parent90f770523f54b2e63a6ad46cba0149c9dc01ddd4 (diff)
downloadmusl-b72db3d1ed561d31d059acc7e9a5aacb8c5ee9ac.tar.gz
musl-b72db3d1ed561d31d059acc7e9a5aacb8c5ee9ac.tar.bz2
musl-b72db3d1ed561d31d059acc7e9a5aacb8c5ee9ac.tar.xz
musl-b72db3d1ed561d31d059acc7e9a5aacb8c5ee9ac.zip
move fallocate syscall wrapper to linux-specific syscalls dir
Diffstat (limited to 'src/fcntl')
-rw-r--r--src/fcntl/fallocate.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/fcntl/fallocate.c b/src/fcntl/fallocate.c
deleted file mode 100644
index 9146350e..00000000
--- a/src/fcntl/fallocate.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#define _GNU_SOURCE
-#include <fcntl.h>
-#include "syscall.h"
-
-int fallocate(int fd, int mode, off_t base, off_t len)
-{
- return syscall(SYS_fallocate, fd, mode, __SYSCALL_LL_E(base),
- __SYSCALL_LL_E(len));
-}