4.10. Tailoring the input/output functions

The higher-level input/output functions such as fscanf() and fprintf() are
not target-dependent. However, the higher-level functions perform
input/output by calling lower-level functions that are target-dependent.
To retarget input/output, you can either avoid these higher-level
functions or redefine the lower-level functions.