Crossware

Table of Contents        Previous topic       Next topic       

COMPILER LIBRARY FUNCTIONS->Detailed Descriptions->vsprintf()

Summary

#include <stdio.h>
#include <stdarg.h>

int vsprintf(char* buffer, const char* format, va_list argptr);

Parameters

    
bufferStorage location for output
formatFormat control string
argptrPointer to a list of arguments to be converted and written

Description

This function converts, formats and writes the arguments pointer to by argptr to buffer.

The format control string has the same form and function as the format argument of the printf() function.


Return Value

The function returns the number of characters written to buffer.