Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
newlib
/
newlib
/
libc
/
sys
/
sh
/
truncate.c
blob: 5ca48d3c6b0d050bbdb48b9eb067d60b87348d25 [
file
] [
log
] [
blame
]
#include
<_ansi.h>
#include
<sys/types.h>
#include
"sys/syscall.h"
int
truncate
(
const
char
*
path
,
off_t
length
)
{
return
__trap34
(
SYS_truncate
,
path
,
length
,
0
);
}