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

6 lines
99 B
C
Raw Normal View History

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