projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix mrand48/jrand48 return value on 64-bit archs
[musl]
/
src
/
fcntl
/
posix_fallocate.c
diff --git
a/src/fcntl/posix_fallocate.c
b/src/fcntl/posix_fallocate.c
index
bd72624
..
91d8063
100644
(file)
--- a/
src/fcntl/posix_fallocate.c
+++ b/
src/fcntl/posix_fallocate.c
@@
-1,8
+1,11
@@
#include <fcntl.h>
#include "syscall.h"
#include <fcntl.h>
#include "syscall.h"
+#include "libc.h"
int posix_fallocate(int fd, off_t base, off_t len)
{
int posix_fallocate(int fd, off_t base, off_t len)
{
- return -__syscall(SYS_fallocate, fd,
__SYSCALL_LL_O
(base),
+ return -__syscall(SYS_fallocate, fd,
0, __SYSCALL_LL_E
(base),
__SYSCALL_LL_E(len));
}
__SYSCALL_LL_E(len));
}
+
+LFS64(posix_fallocate);