fprintf Function (tigcc.a)

stdio.h

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

Sends formatted output to a stream.

fprintf sends formatted output to a string. In fact, it does the following:

There must be the same number of format specifiers as arguments. fprintf returns the number of bytes output. In the event of error, it returns EOF.


Uses: fputc, vcbprintf