MicrOS
fprintf.c File Reference
#include "../stdio.h"
#include <stdarg.h>

Functions

int fprintf (FILE *file, const char *format,...)
 Print formatted data to stdoutWrite formatted data to stream. More...
 

Function Documentation

◆ fprintf()

int fprintf ( FILE file,
const char *  format,
  ... 
)

Print formatted data to stdoutWrite formatted data to stream.

Writes the C string pointed by format to the stream. If format includes format specifiers (subsequences beginning with %), the additional arguments following format are formatted and inserted in the resulting string replacing their respective specifiers.

Parameters
filePointer to a FILE object that identifies an output stream.
formatC string that contains the text to be written to the stream.Can contain embedded format specifiers.
...Additional arguments
Returns
Total number of characters written to stream.