fprintf is used to format data and O/P to a file. It is basically a printf and so uses the same escape sequences and format identifers.
A related function is sprintf which will O/P formatted text to a character array.
example program.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル