X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Ffprintf.c;h=d3d4cb661d2fc4512f6fb41628e8e323e806dd1e;hp=ea4f97d4a05d0f8b679d19ad3943e205f60ef290;hb=0a5395faab237ba9008352b0f4bee9659bbd3d5f;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec diff --git a/functions/stdio/fprintf.c b/functions/stdio/fprintf.c index ea4f97d..d3d4cb6 100644 --- a/functions/stdio/fprintf.c +++ b/functions/stdio/fprintf.c @@ -6,3 +6,15 @@ // ---------------------------------------------------------------------------- int fprintf( FILE * restrict stream, const char * restrict format, ... ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + va_list arg; + int ret; + + va_start(arg, format); + ret = vfprintf(stream, format, arg); + va_end(arg); + return (ret); +} +*/