diff options
Diffstat (limited to 'src/stdio/vprintf_s.c')
-rw-r--r-- | src/stdio/vprintf_s.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/stdio/vprintf_s.c b/src/stdio/vprintf_s.c new file mode 100644 index 00000000..c13b1ead --- /dev/null +++ b/src/stdio/vprintf_s.c @@ -0,0 +1,28 @@ +#include "stdio.h" + +/** write formatted output **/ +int vprintf_s(const char * restrict format, va_list arg) +{ + __C_EXT(1, 201112L); + return vfprintf(stdout, format, arg); +} + +/*** +The fn(vprintf) function is equivalent to fn(printf), but with a type(va_list) +argument instead of variadic arguments. The argument arg(arg) must be +initialized with fnmacro(va_start) prior to calling fn(vprintf). The +fn(vprintf) function does not call fnmacro(va_end), so the calling function is +responsible for this. +***/ + +/* UNSPECIFIED: ??? */ +/* UNDEFINED: ??? */ +/* IMPLEMENTATION: ??? */ +/* LOCALE: ??? */ + +/* RETURN(NEG): an error occurred */ +/* RETURN: the number of characters written */ + +/* +CEXT1(201112) +*/ |