X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Ffprintf.c;h=66566a4d5a6fb953e57a3a15df3defacec8b2daa;hp=0227cd4d17ad520dfb99bc21160d060f0ccb93bb;hb=202af43c19ec4f5f1d1b2827a7ef0b46abfebed5;hpb=c45b8c52827f1ea733cf211045d8d5b7bedcc970 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; }