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