repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
loongarch64: add new syscall numbers
[musl.git]
/
src
/
unistd
/
ftruncate.c
blob
54ff34bc3ebd7fa76273148eac9eee2880935717
1
#include <unistd.h>
2
#include
"syscall.h"
3
4
int
ftruncate
(
int
fd
,
off_t length
)
5
{
6
return
syscall
(
SYS_ftruncate
,
fd
,
__SYSCALL_LL_O
(
length
));
7
}