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

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