Retro68/gcc/newlib/libc/sys/sh/truncate.c

10 lines
169 B
C
Raw Normal View History

#include <_ansi.h>
#include <sys/types.h>
#include "sys/syscall.h"
int
truncate (const char *path, off_t length)
{
return __trap34 (SYS_truncate, path, length, 0);
}