Commit | Line | Data |
d6376244 |
1 | /* globals.c |
2 | * |
3f774658 |
3 | * Copyright (c) 1997-2002, Larry Wall |
d6376244 |
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 | |
d31a8517 |
10 | /* |
11 | * "For the rest, they shall represent the other Free Peoples of the World: |
12 | * Elves, Dwarves, and Men." --Elrond |
13 | */ |
14 | |
ecfc5424 |
15 | #include "INTERN.h" |
864dbfa3 |
16 | #define PERL_IN_GLOBALS_C |
ecfc5424 |
17 | #include "perl.h" |
76e3520e |
18 | |
c5be433b |
19 | int |
20 | Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...) |
21 | { |
1de7c2ac |
22 | dTHXs; |
c5be433b |
23 | va_list(arglist); |
24 | va_start(arglist, format); |
25 | return PerlIO_vprintf(stream, format, arglist); |
26 | } |
682fc664 |
27 | |
b0316773 |
28 | int |
29 | Perl_printf_nocontext(const char *format, ...) |
30 | { |
e87a358a |
31 | dTHX; |
b0316773 |
32 | va_list(arglist); |
33 | va_start(arglist, format); |
34 | return PerlIO_vprintf(PerlIO_stdout(), format, arglist); |
35 | } |
36 | |
682fc664 |
37 | #include "perlapi.h" /* bring in PL_force_link_funcs */ |