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. */
33 #if !defined __NO_ISOCEXT
34 #include <sys/types.h> /* For useconds_t. */
36 int __cdecl __MINGW_NOTHROW
usleep(useconds_t useconds
);
37 #endif /* Not __NO_ISOCEXT */
39 /* This is defined as a real library function to allow autoconf
40 to verify its existence. */
41 int ftruncate(int, off_t
);
42 __CRT_INLINE
int ftruncate(int __fd
, off_t __length
)
44 return _chsize (__fd
, __length
);
51 #undef __UNISTD_H_SOURCED__
52 #endif /* _UNISTD_H */