Visible to Intel only — GUID: mwh1416946791562
Ixiasoft
Visible to Intel only — GUID: mwh1416946791562
Ixiasoft
6.13.5.3. Use UNIX-Style File I/O
For more information, refer to the “UNIX-Style Interface” chapter.
The Nios II EDS provides 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.