newlib-cygwin/winsup/mingw/mingwex/ftruncate.c

6 lines
99 B
C
Executable File

#include <unistd.h>
int ftruncate(int __fd, off_t __length)
{
return _chsize (__fd, __length);
}