English
Language : 

CC78K4 Datasheet, PDF (189/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 10 LIBRARY FUNCTIONS
4-6 vsprintf
I/O Functions
FUNCTION
vsprintf writes data to character strings according to the format.
HEADER
stdio.h
FUNCTION PROTOTYPE
int vsprintf (char *s, const char * format, va_list p) ;
Function
vsprintf
Arguments
s ... Pointer to the character
string that writes the output
format ... Pointer to the
character string that indicates
output conversion
specification
p ... Pointer to the argument
list
Return Value
Number of characters output
to s (the null character at the
end is not counted)
EXPLANATION
• Writes out the argument that the pointer of argument list indicates to the character strings indicated by s
according to the output conversion specification specified by format.
• The output specification is the same as that of the sprintf function.
User’s Manual U15556EJ1V0UM
189