Visible to Intel only — GUID: vzu1642657631081
Ixiasoft
Visible to Intel only — GUID: vzu1642657631081
Ixiasoft
6.11.5.2. Use UNIX-Style File I/O
For more information, refer to the UNIX-Style Interface chapter.
The Nios® V processor tools provide ANSI C file I/O, in the newlib C library, because there is a per-access performance overhead associated with accessing devices and files using the UNIX-style file I/O functions. The ANSI C file I/O provides buffered access, thereby reducing the total number of hardware I/O accesses performed. Also the ANSI C API is more flexible and therefore easier to use. However, these benefits are gained at the expense of code footprint.