Everything

printf


Converts data according to a format and outputs it to the standard output file (stdout).

[Format]

#include <stdio.h>

long printf (const char *control[, arg]...);

[Parameters]

control Pointer to string indicating format

arg,... Data to be output according to format

[Return values]

Normal: Number of characters converted and output

Abnormal: Negative value

[Remarks]

The printf function converts and edits parameter arg according to the string that represents the format pointed to by control, and outputs the result to the standard output file (stdout).

For details of the format specifications, see the description of the fprintf function.