MicrOS
vprintf.c File Reference
#include <stdarg.h>
#include "../stdio.h"

Functions

int vprintf (const char *format, va_list arg)
 Print formatted data from variable argument list to stdout. More...
 

Function Documentation

◆ vprintf()

int vprintf ( const char *  format,
va_list  arg 
)

Print formatted data from variable argument list to stdout.

Writes the C string pointed by format to the stream. If format includes format specifiers (subsequences beginning with %), the additional arguments stored in arg list are formatted and inserted in the resulting string replacing their respective specifiers.

Parameters
formatC string that contains the text to be written to the stream.Can contain embedded format specifiers.
argA value identifying a variable arguments list initialized with va_start.
Returns
Total number of characters written to stream.