ReactOS
0.4.16-dev-106-g10b08aa
acrt_iob_func.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS CRT library
3
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4
* PURPOSE: __acrt_iob_func implementation
5
* COPYRIGHT: Victor Perevertkin <victor.perevertkin@reactos.org>
6
*/
7
8
// Evil hack necessary, because we're linking to the RosBE-provided libstdc++ when using GCC.
9
// This can only be solved cleanly by adding a GCC-compatible C++ standard library to our tree.
10
#ifdef __GNUC__
11
12
#include <precomp.h>
13
14
/*********************************************************************
15
* __acrt_iob_func(MSVCRT.@)
16
*/
17
FILE
*
CDECL
__acrt_iob_func(
int
index
)
18
{
19
return
&
__iob_func
()[
index
];
20
}
21
22
#ifdef WIN64
23
const
void
* __imp___acrt_iob_func = __acrt_iob_func;
24
#else
25
const
void
* _imp____acrt_iob_func = __acrt_iob_func;
26
#endif
27
28
#endif
index
#define index(s, c)
Definition:
various.h:29
CDECL
#define CDECL
Definition:
compat.h:29
index
GLuint index
Definition:
glext.h:6031
__iob_func
_CRTIMP FILE *__cdecl __iob_func(void)
Definition:
file.c:682
_iobuf
Definition:
mbstring.h:19
sdk
lib
crt
stdio
acrt_iob_func.c
Generated on Tue Oct 8 2024 06:16:46 for ReactOS by
1.9.6