English
Language : 

CC78K0S Datasheet, PDF (206/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 10 LIBRARY FUNCTIONS
4-6 vsprintf (normal model only)
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 that s indicates
according to the output conversion specification specified by format.
• The output specification is the same as that of the sprintf function.
206
User’s Manual U14872EJ1V0UM