Opening files

To open an OS file, you can use the Standard C functions fopen() or freopen(). These are described in general terms in z/OS XL C/C++ Runtime Library Reference. Details about them specific to all z/OS® XL C/C++ I/O are discussed in the "Opening Files" section. This section describes considerations for using fopen() and freopen() with OS files.