Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
4973 |
right-hear |
1 |
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ |
|
|
2 |
#include |
|
|
3 |
#include |
|
|
4 |
#include |
|
|
5 |
#include |
|
|
6 |
|
|
|
7 |
int ftruncate(int fd, off_t where) |
|
|
8 |
{ |
|
|
9 |
int res = dosemu_truncate(fd, where); |
|
|
10 |
if (res) {errno = res; return -1;} |
|
|
11 |
return 0; |
|
|
12 |
} |