You copied the Doc URL to your clipboard.

# Tailoring input/output functions in the C and C++ libraries

High-level input/output, such as the functions `fscanf()` and `fprintf()`, and the C++ object `std::cout`, 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.

For more information on I/O functions, see the `rt_sys.h` file in `install_directory\include`.