X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fstdio%2Ffprintf.c;h=66566a4d5a6fb953e57a3a15df3defacec8b2daa;hp=0227cd4d17ad520dfb99bc21160d060f0ccb93bb;hb=b5b6c4a890795ea76f9b92b817b0a83c6bb4862c;hpb=aa8b812cace09efe5e21f191761a5258b266b87b diff --git a/functions/stdio/fprintf.c b/functions/stdio/fprintf.c index 0227cd4..66566a4 100644 --- a/functions/stdio/fprintf.c +++ b/functions/stdio/fprintf.c @@ -12,13 +12,13 @@ #ifndef REGTEST #include <_PDCLIB_io.h> -int fprintf_unlocked( FILE * _PDCLIB_restrict stream, +int _PDCLIB_fprintf_unlocked( FILE * _PDCLIB_restrict stream, const char * _PDCLIB_restrict format, ... ) { int rc; va_list ap; va_start( ap, format ); - rc = vfprintf( stream, format, ap ); + rc = _PDCLIB_vfprintf_unlocked( stream, format, ap ); va_end( ap ); return rc; } @@ -29,9 +29,9 @@ int fprintf( FILE * _PDCLIB_restrict stream, int rc; va_list ap; va_start( ap, format ); - flockfile( stream ); - rc = vfprintf_unlocked( stream, format, ap ); - funlockfile( stream ); + _PDCLIB_flockfile( stream ); + rc = _PDCLIB_vfprintf_unlocked( stream, format, ap ); + _PDCLIB_funlockfile( stream ); va_end( ap ); return rc; }