repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git]
/
newlib
/
libc
/
sys
/
sh
/
ftruncate.c
blob
c358eb173b0d92eeb5d921cfaddee1d1d97247d3
1
#include <_ansi.h>
2
#include <sys/types.h>
3
#include
"sys/syscall.h"
4
5
extern
int
__trap34
(
int
function
, ...);
6
7
int
8
ftruncate
(
int
file
,
off_t length
)
9
{
10
return
__trap34
(
SYS_ftruncate
,
file
,
length
,
0
);
11
}