1 // cstdio standard header
2 #pragma once
3 #ifndef _CSTDIO_
4 #define _CSTDIO_
5 #include <yvals.h>
6
7 #ifdef _STD_USING
8  #undef _STD_USING
9   #include <stdio.h>
10  #define _STD_USING
11
12 #else /* _STD_USING */
13  #include <stdio.h>
14 #endif /* _STD_USING */
15
16 // undef common macro overrides
17  #undef clearerr
18  #undef feof
19  #undef ferror
20  #undef getc
21  #undef getchar
22  #undef putc
23  #undef putchar
24
25  #define _HAS_CONVENTIONAL_CLIB    1
26  #define _IOBASE    _base
27  #define _IOPTR    _ptr
28  #define _IOCNT    _cnt
29
30 #ifndef _FPOSOFF
31   #define _FPOSOFF(fp)  ((long)(fp))
32 #endif /* _FPOSOFF */
33
34 typedef FILE _Filet;
35
36 #ifndef RC_INVOKED
37  #if _GLOBAL_USING
38 _STD_BEGIN
39 using ::_Filet;
40
41 using ::size_t; using ::fpos_t; using ::FILE;
42 using ::clearerr; using ::fclose; using ::feof;
43 using ::ferror; using ::fflush; using ::fgetc;
44 using ::fgetpos; using ::fgets; using ::fopen;
45 using ::fprintf; using ::fputc; using ::fputs;
46 using ::fread; using ::freopen; using ::fscanf;
47 using ::fseek; using ::fsetpos; using ::ftell;
48 using ::fwrite; using ::getc; using ::getchar;
Lines 49 ... 58 are skipped.
59 _STD_END
60  #endif /* _GLOBAL_USING */
61 #endif /* RC_INVOKED */
62
63 #endif /* _CSTDIO_ */
64
65 /*
66  * Copyright (c) 1992-2006 by P.J. Plauger.  ALL RIGHTS RESERVED.
67  * Consult your license regarding permissions and restrictions.
68  V5.02:0009 */
69