Main Content
Low-Level File I/O
Read and write operations at the byte or character level
Open, close, read, write, and navigate binary and text files at the byte and character levels. To work with files at the variable level, see Supported File Formats for Import and Export.
Functions
Topics
- Import Text Data Files with Low-Level I/O
Read data from text files at the character level using low-level I/O functions.
- Import Binary Data with Low-Level I/O
Read data from binary files at the byte level using low-level I/O functions.
- Export to Text Data Files with Low-Level I/O
Write text files at the character level, including combinations of numeric and character data and nonrectangular files, using the low-level
fprintf
function. - Export Binary Data with Low-Level I/O
Write binary files at the byte level using the low-level
fwrite
function.