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
make configure attempt to catch broken floating point CFLAGS/defaults
[musl.git]
/
src
/
unistd
/
ftruncate.c
blob
467135f009971316101b6e38e5384707baa508c4
1
#include <unistd.h>
2
#include
"syscall.h"
3
#include
"libc.h"
4
5
int
ftruncate
(
int
fd
,
off_t length
)
6
{
7
return
syscall
(
SYS_ftruncate
,
fd
,
__SYSCALL_LL_O
(
length
));
8
}
9
10
LFS64
(
ftruncate
);