ReactOS
0.4.16-dev-2122-g1628f5e
iob.c
Go to the documentation of this file.
1
/*
2
* acrt function needed for compatibility with mingw
3
*
4
* Copyright 2019 Alexandre Julliard
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19
*/
20
21
/* this function is part of the import lib for compatibility with ucrt runtime */
22
#if 0
23
#pragma makedep implib
24
#endif
25
26
#include <stdio.h>
27
#include <
wine/asm.h
>
28
29
#undef __iob_func
30
extern
FILE
*
__cdecl
__iob_func
(
void
);
31
32
/*********************************************************************
33
* __acrt_iob_func(UCRTBASE.@)
34
*/
35
FILE
*
__cdecl
__acrt_iob_func
(
unsigned
idx
)
36
{
37
return
__iob_func
() +
idx
;
38
}
39
__ASM_GLOBAL_IMPORT
(
__acrt_iob_func
)
idx
unsigned int idx
Definition:
utils.c:41
__cdecl
#define __cdecl
Definition:
corecrt.h:121
__acrt_iob_func
#define __acrt_iob_func(idx)
Definition:
msvcrt.h:332
__iob_func
FILE *__cdecl __iob_func(void)
Definition:
file.c:972
_iobuf
Definition:
corecrt_wstdio.h:27
asm.h
__ASM_GLOBAL_IMPORT
#define __ASM_GLOBAL_IMPORT(name)
Definition:
asm.h:118
dll
win32
msvcrt
iob.c
Generated on Sat Jan 10 2026 06:04:59 for ReactOS by
1.9.6