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