Crossware

Table of Contents        Previous topic       Next topic       

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

Summary

#include <stdio.h>

int sprintf(char* buffer, const char* format, ...);

Parameters

    
bufferStorage location for output
formatFormat control string
...Optional arguments to be converted and written

Description

This function converts, formats and writes its arguments 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.