Sign in
mojo
/
mojo-tools
/
7d579155cc597aa3befcbfad66eef54bda06b57c
/
.
/
fusl
/
src
/
unistd
/
ftruncate.c
blob: c0768c63e057cb244f3dc43f98e6bb9cddc0cd52 [
file
] [
log
] [
blame
]
#include
<unistd.h>
#include
"syscall.h"
#include
"libc.h"
int
ftruncate
(
int
fd
,
off_t
length
)
{
return
syscall
(
SYS_ftruncate
,
fd
,
__SYSCALL_LL_O
(
length
));
}