extra code in pp_concat, Take 2
[p5sagit/p5-mst-13.2.git] / NetWare / CLIBsdio.h
CommitLineData
2986a63f 1
2/*
3 * Copyright © 2001 Novell, Inc. All Rights Reserved.
4 *
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Artistic License, as specified in the README file.
7 *
8 */
9
10/*
11 * FILENAME : CLIBsdio.h
12 * DESCRIPTION : Forces the use of clib stdio.h calls over static watcom calls
13 * for C/C++ applications that statically link watcom libraries.
14 *
15 * This file must be included each time that stdio.h is included.
16 * In the case of the Perl project, just include stdio.h and
17 * the make should take care of the rest.
18 * Author : HYAK
19 * Date : January 2001.
20 *
21 */
22
23
24
25#ifndef _CLIBSDIO_H_
26#define _CLIBSDIO_H_
27
28
29#ifdef DEFINE_GPF
30#define _GPFINIT =0
31#define _GPFEXT
32#else
33#define _GPFINIT
34#define _GPFEXT extern
35#endif
36
37#ifdef __cplusplus
38extern "C"
39{
40#endif
41
42_GPFEXT void* gpf___get_stdin _GPFINIT;
43_GPFEXT void* gpf___get_stdout _GPFINIT;
44_GPFEXT void* gpf___get_stderr _GPFINIT;
45
46_GPFEXT void* gpf_clearerr _GPFINIT;
47_GPFEXT void* gpf_fclose _GPFINIT;
48_GPFEXT void* gpf_feof _GPFINIT;
49_GPFEXT void* gpf_ferror _GPFINIT;
50_GPFEXT void* gpf_fflush _GPFINIT;
51_GPFEXT void* gpf_fgetc _GPFINIT;
52_GPFEXT void* gpf_fgetpos _GPFINIT;
53_GPFEXT void* gpf_fgets _GPFINIT;
54_GPFEXT void* gpf_fopen _GPFINIT;
55_GPFEXT void* gpf_fprintf _GPFINIT;
56_GPFEXT void* gpf_fputc _GPFINIT;
57_GPFEXT void* gpf_fputs _GPFINIT;
58_GPFEXT void* gpf_fread _GPFINIT;
59_GPFEXT void* gpf_freopen _GPFINIT;
60_GPFEXT void* gpf_fscanf _GPFINIT;
61_GPFEXT void* gpf_fseek _GPFINIT;
62_GPFEXT void* gpf_fsetpos _GPFINIT;
63_GPFEXT void* gpf_ftell _GPFINIT;
64_GPFEXT void* gpf_fwrite _GPFINIT;
65_GPFEXT void* gpf_getc _GPFINIT;
66_GPFEXT void* gpf_getchar _GPFINIT;
67_GPFEXT void* gpf_gets _GPFINIT;
68_GPFEXT void* gpf_perror _GPFINIT;
69_GPFEXT void* gpf_printf _GPFINIT;
70_GPFEXT void* gpf_putc _GPFINIT;
71_GPFEXT void* gpf_putchar _GPFINIT;
72_GPFEXT void* gpf_puts _GPFINIT;
73_GPFEXT void* gpf_rename _GPFINIT;
74_GPFEXT void* gpf_rewind _GPFINIT;
75_GPFEXT void* gpf_scanf _GPFINIT;
76_GPFEXT void* gpf_setbuf _GPFINIT;
77_GPFEXT void* gpf_setvbuf _GPFINIT;
78_GPFEXT void* gpf_sprintf _GPFINIT;
79_GPFEXT void* gpf_sscanf _GPFINIT;
80_GPFEXT void* gpf_tmpfile _GPFINIT;
81_GPFEXT void* gpf_tmpnam _GPFINIT;
82_GPFEXT void* gpf_ungetc _GPFINIT;
83_GPFEXT void* gpf_vfprintf _GPFINIT;
84_GPFEXT void* gpf_vfscanf _GPFINIT;
85_GPFEXT void* gpf_vprintf _GPFINIT;
86_GPFEXT void* gpf_vscanf _GPFINIT;
87_GPFEXT void* gpf_vsprintf _GPFINIT;
88_GPFEXT void* gpf_vsscanf _GPFINIT;
89
90_GPFEXT void* gpf_fdopen _GPFINIT;
91_GPFEXT void* gpf_fileno _GPFINIT;
92
93_GPFEXT void* gpf_cgets _GPFINIT;
94_GPFEXT void* gpf_cprintf _GPFINIT;
95_GPFEXT void* gpf_cputs _GPFINIT;
96_GPFEXT void* gpf_cscanf _GPFINIT;
97_GPFEXT void* gpf_fcloseall _GPFINIT;
98_GPFEXT void* gpf_fgetchar _GPFINIT;
99_GPFEXT void* gpf_flushall _GPFINIT;
100_GPFEXT void* gpf_fputchar _GPFINIT;
101_GPFEXT void* gpf_getch _GPFINIT;
102_GPFEXT void* gpf_getche _GPFINIT;
103_GPFEXT void* gpf_putch _GPFINIT;
104_GPFEXT void* gpf_ungetch _GPFINIT;
105_GPFEXT void* gpf_vcprintf _GPFINIT;
106_GPFEXT void* gpf_vcscanf _GPFINIT;
107
108#ifdef __cplusplus
109}
110#endif
111
112#pragma aux __get_stdin = "call gpf___get_stdin";
113#pragma aux __get_stdout = "call gpf___get_stdout";
114#pragma aux __get_stderr = "call gpf___get_stderr";
115
116#pragma aux clearerr = "call gpf_clearerr";
117#pragma aux fclose = "call gpf_fclose";
118#pragma aux feof = "call gpf_feof";
119#pragma aux ferror = "call gpf_ferror";
120#pragma aux fflush = "call gpf_fflush";
121#pragma aux fgetc = "call gpf_fgetc";
122#pragma aux fgetpos = "call gpf_fgetpos";
123#pragma aux fgets = "call gpf_fgets";
124#pragma aux fopen = "call gpf_fopen";
125#pragma aux fprintf = "call gpf_fprintf";
126#pragma aux fputc = "call gpf_fputc";
127#pragma aux fputs = "call gpf_fputs";
128#pragma aux fread = "call gpf_fread";
129#pragma aux freopen = "call gpf_freopen";
130#pragma aux fscanf = "call gpf_fscanf";
131#pragma aux fseek = "call gpf_fseek";
132#pragma aux fsetpos = "call gpf_fsetpos";
133#pragma aux ftell = "call gpf_ftell";
134#pragma aux fwrite = "call gpf_fwrite";
135#pragma aux getc = "call gpf_getc";
136#pragma aux getchar = "call gpf_getchar";
137#pragma aux gets = "call gpf_gets";
138#pragma aux perror = "call gpf_perror";
139#pragma aux printf = "call gpf_printf";
140#pragma aux putc = "call gpf_putc";
141#pragma aux putchar = "call gpf_putchar";
142#pragma aux puts = "call gpf_puts";
143#pragma aux rename = "call gpf_rename";
144#pragma aux rewind = "call gpf_rewind";
145#pragma aux scanf = "call gpf_scanf";
146#pragma aux setbuf = "call gpf_setbuf";
147#pragma aux setvbuf = "call gpf_setvbuf";
148#pragma aux sprintf = "call gpf_sprintf";
149#pragma aux sscanf = "call gpf_sscanf";
150#pragma aux tmpfile = "call gpf_tmpfile";
151#pragma aux tmpnam = "call gpf_tmpnam";
152#pragma aux ungetc = "call gpf_ungetc";
153#pragma aux vfprintf = "call gpf_vfprintf";
154#pragma aux vfscanf = "call gpf_vfscanf";
155#pragma aux vprintf = "call gpf_vprintf";
156#pragma aux vscanf = "call gpf_vscanf";
157#pragma aux vsprintf = "call gpf_vsprintf";
158#pragma aux vsscanf = "call gpf_vsscanf";
159
160#pragma aux fdopen = "call gpf_fdopen";
161#pragma aux fileno = "call gpf_fileno";
162
163#pragma aux cgets = "call gpf_cgets";
164#pragma aux cprintf = "call gpf_cprintf";
165#pragma aux cputs = "call gpf_cputs";
166#pragma aux cscanf = "call gpf_cscanf";
167#pragma aux fcloseall = "call gpf_fcloseall";
168#pragma aux fgetchar = "call gpf_fgetchar";
169#pragma aux flushall = "call gpf_flushall";
170#pragma aux fputchar = "call gpf_fputchar";
171#pragma aux getch = "call gpf_getch";
172#pragma aux getche = "call gpf_getche";
173#pragma aux putch = "call gpf_putch";
174#pragma aux ungetch = "call gpf_ungetch";
175#pragma aux vcprintf = "call gpf_vcprintf";
176#pragma aux vcscanf = "call gpf_vcscanf";
177
178
179#endif // _CLIBSDIO_H_
180