mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-29 22:38:25 -05:00
18 lines
186 B
C
18 lines
186 B
C
|
/*
|
||
|
* Public domain
|
||
|
*
|
||
|
* Kinichiro Inoguchi <inoguchi@openbsd.org>
|
||
|
*/
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
|
||
|
#include <unistd.h>
|
||
|
|
||
|
int
|
||
|
ftruncate(int fd, off_t length)
|
||
|
{
|
||
|
return _chsize(fd, length);
|
||
|
}
|
||
|
|
||
|
#endif
|