Reading from z/OS UNIX file system files

You can use the following library functions to read in information from z/OS® UNIX file system files:

fread() is the only interface allowed for reading record I/O files. See z/OS XL C/C++ Runtime Library Reference for more information on all of the above library functions.

For z/OS UNIX low-level I/O, you can use the read() and readv() function. See Low-level z/OS UNIX I/O.