 |
fprintf |
Function (tigcc.a) |
Sends formatted output to a stream.
fprintf sends formatted output to a string. In fact, it does the following:
- accepts a series of arguments;
- applies to each argument a format specifier contained in the format string
pointed to by format (see printf for
details on format specifiers);
- outputs the formatted data to the stream associated with the structure pointed
to by stream
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