repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libc
/
sys
/
sh
/
ftruncate.c
blob
660377bf3b5aa9a1e766f4e6278cbabc2649285b
1
#include <_ansi.h>
2
#include <sys/types.h>
3
#include
"sys/syscall.h"
4
5
int
6
ftruncate
(
int
file
,
off_t length
)
7
{
8
return
__trap34
(
SYS_ftruncate
,
file
,
length
,
0
);
9
}