4.4 RMS Definition Files

Like the UNIX standard I/O package, RMS has file pointers used as internal file names in programs. These pointers are returned by dlopen(C-3) and dopen(C-3) upon successful opening of the requested RMSfile. Any program making reference to RMS functions must include the statement:

#include <cbase/dirio.h>

This include file has the definition of DFILE. Each program must always work with a pointer to DFILE:

DFILE *fileptr;

Another include file has the definitions of all the data types supported by RMS and it's utilities which can be included in a program with the statement:

#include <cbase/dtypes.h>