3 * This file is part of the Mingw32 package.
5 * unistd.h maps (roughly) to io.h
6 * Other headers included by unistd.h may be selectively processed;
7 * __UNISTD_H_SOURCED__ enables such selective processing.
10 #define __UNISTD_H_SOURCED__ 1
16 /* These are also defined in stdio.h. */
31 #if !defined __NO_ISOCEXT
32 #include <sys/types.h> /* For useconds_t. */
34 int __cdecl __MINGW_NOTHROW usleep(useconds_t useconds);
35 #endif /* Not __NO_ISOCEXT */
37 /* This is defined both as a real library function, to allow autoconf
38 * to verify its existence, and as a potentially inline implementation.
40 int ftruncate(int, off_t);
42 __CRT_INLINE __JMPSTUB__(( FUNCTION = ftruncate, REMAPPED = _chsize ))
43 int ftruncate(int __fd, off_t __length)
44 { return _chsize (__fd, __length); }
49 #undef __UNISTD_H_SOURCED__
50 #endif /* _UNISTD_H */