Welcome to mirror list, hosted at ThFree Co, Russian Federation.

truncate.c « sh « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5ca48d3c6b0d050bbdb48b9eb067d60b87348d25 (plain)
1
2
3
4
5
6
7
8
9
#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);
}