xref: /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/globals.c (revision 0:68f95e015346)
1*0Sstevel@tonic-gate /*    globals.c
2*0Sstevel@tonic-gate  *
3*0Sstevel@tonic-gate  *    Copyright (C) 1995, 1999, 2000, 2001, by Larry Wall and others
4*0Sstevel@tonic-gate  *
5*0Sstevel@tonic-gate  *    You may distribute under the terms of either the GNU General Public
6*0Sstevel@tonic-gate  *    License or the Artistic License, as specified in the README file.
7*0Sstevel@tonic-gate  *
8*0Sstevel@tonic-gate  */
9*0Sstevel@tonic-gate 
10*0Sstevel@tonic-gate /*
11*0Sstevel@tonic-gate  * "For the rest, they shall represent the other Free Peoples of the World:
12*0Sstevel@tonic-gate  * Elves, Dwarves, and Men." --Elrond
13*0Sstevel@tonic-gate  */
14*0Sstevel@tonic-gate 
15*0Sstevel@tonic-gate #include "INTERN.h"
16*0Sstevel@tonic-gate #define PERL_IN_GLOBALS_C
17*0Sstevel@tonic-gate #include "perl.h"
18*0Sstevel@tonic-gate 
19*0Sstevel@tonic-gate int
Perl_fprintf_nocontext(PerlIO * stream,const char * format,...)20*0Sstevel@tonic-gate Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...)
21*0Sstevel@tonic-gate {
22*0Sstevel@tonic-gate     dTHXs;
23*0Sstevel@tonic-gate     va_list(arglist);
24*0Sstevel@tonic-gate     va_start(arglist, format);
25*0Sstevel@tonic-gate     return PerlIO_vprintf(stream, format, arglist);
26*0Sstevel@tonic-gate }
27*0Sstevel@tonic-gate 
28*0Sstevel@tonic-gate int
Perl_printf_nocontext(const char * format,...)29*0Sstevel@tonic-gate Perl_printf_nocontext(const char *format, ...)
30*0Sstevel@tonic-gate {
31*0Sstevel@tonic-gate     dTHX;
32*0Sstevel@tonic-gate     va_list(arglist);
33*0Sstevel@tonic-gate     va_start(arglist, format);
34*0Sstevel@tonic-gate     return PerlIO_vprintf(PerlIO_stdout(), format, arglist);
35*0Sstevel@tonic-gate }
36*0Sstevel@tonic-gate 
37*0Sstevel@tonic-gate #include "perlapi.h"		/* bring in PL_force_link_funcs */
38