2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
7 * This file is part of the Mingw32 package.
9 * unistd.h maps (roughly) to io.h
12 #ifndef __STRICT_ANSI__
17 #define __UNISTD_GETOPT__
19 #undef __UNISTD_GETOPT__
25 #ifndef FTRUNCATE_DEFINED
26 #define FTRUNCATE_DEFINED
27 /* This is defined as a real library function to allow autoconf
28 to verify its existence. */
29 int ftruncate(int, off_t
);
30 __CRT_INLINE
int ftruncate(int __fd
, off_t __length
)
32 return _chsize (__fd
, __length
);