projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cuserid: support invocation with a null pointer argument
[musl]
/
src
/
unistd
/
truncate.c
diff --git
a/src/unistd/truncate.c
b/src/unistd/truncate.c
index
8e65655
..
9729680
100644
(file)
--- a/
src/unistd/truncate.c
+++ b/
src/unistd/truncate.c
@@
-1,10
+1,9
@@
#include <unistd.h>
#include "syscall.h"
-#include "libc.h"
int truncate(const char *path, off_t length)
{
return syscall(SYS_truncate, path, __SYSCALL_LL_O(length));
}
-
LFS64(truncate
);
+
weak_alias(truncate, truncate64
);