Retro68/gcc/newlib/libc/sys/sh/ftruncate.c
Wolfgang Thaller d464252791 re-add newlib
2017-04-11 23:13:36 +02:00

10 lines
163 B
C

#include <_ansi.h>
#include <sys/types.h>
#include "sys/syscall.h"
int
ftruncate (int file, off_t length)
{
return __trap34 (SYS_ftruncate, file, length, 0);
}