Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git] / newlib / libc / sys / sh / ftruncate.c
blobc358eb173b0d92eeb5d921cfaddee1d1d97247d3
1 #include <_ansi.h>
2 #include <sys/types.h>
3 #include "sys/syscall.h"
5 extern int __trap34 (int function, ...);
7 int
8 ftruncate (int file, off_t length)
10 return __trap34 (SYS_ftruncate, file, length, 0);