Crossware

Table of Contents        Previous topic       Next topic       

C LIBRARY FUNCTIONS->Detailed Descriptions->fprintf()

Summary


#include <stdio.h>

int fprintf(FILE* stream, const char* format, ...);


Parameters

    
streamPointer to FILE structure
formatFormat control string
...Optional arguments to be converted and written

Description

This function converts, formats and writes its arguments to the output stream.

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 stream.