DEC C for OpenVMS systems provides a set of run-time library functions and macros to perform I/O. Some of these functions perform in the same manner as I/O functions found on C implementations running on UNIX systems. Other DEC C functions take full advantage of the functionality of the OpenVMS file-handling system. You can also access the OpenVMS file-handling system from your DEC C program without using the DEC C Run-Time Library (RTL) functions. In any case, the system that ultimately accesses files on OpenVMS systems is OpenVMS Record Management Services (RMS).
This chapter introduces you to the following RMS topics:
The file-handling capabilities of DEC C fall into two distinct categories:
This chapter briefly reviews the basic concepts and facilities of RMS and shows examples of their application in DEC C programming. Because this is an overview, the chapter does not explain all RMS concepts and features. For language-independent information about RMS, see the following manuals in the OpenVMS documentation set:
This guide contains a general description of the record management services of the OpenVMS operating system, and the file creation and run-time options available.
This manual describes the user interface to RMS. It includes introductory information on RMS programming and detailed definitions of all RMS control block structures and macro instructions.