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
-
file | Pointer to a FILE object that identifies an output stream. |
format | C 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.