Go to most recent revision | Details | Last modification | View Log | RSS feed
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include
int ftruncate(int fd, off_t where)
{
int res = dosemu_truncate(fd, where);
if (res) {errno = res; return -1;}
return 0;
}