ReactOS
0.4.16-dev-336-gb667d82
unistd.h
Go to the documentation of this file.
1
6
/*
7
* This file is part of the Mingw32 package.
8
*
9
* unistd.h maps (roughly) to io.h
10
*/
11
12
#ifndef __STRICT_ANSI__
13
14
#include <
io.h
>
15
#include <
process.h
>
16
17
#define __UNISTD_GETOPT__
18
#include <
getopt.h
>
19
#undef __UNISTD_GETOPT__
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
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)
31
{
32
return
_chsize
(__fd, __length);
33
}
34
#endif
35
36
#ifdef __cplusplus
37
}
38
#endif
39
40
#endif
_off_t
long _off_t
Definition:
stdio.h:73
ftruncate
int ftruncate(int, _off_t)
Definition:
unistd.h:30
_chsize
_Check_return_ _CRTIMP int __cdecl _chsize(_In_ int _FileHandle, _In_ long _Size)
getopt.h
process.h
io.h
sdk
include
crt
unistd.h
Generated on Tue Dec 10 2024 06:14:21 for ReactOS by
1.9.6