DTDICT C-3

NAME

dtdict - return RMSfile dictionary pointer

SYNOPSIS

#include <cbase/dirio.h>

DICT *dtdict (fcb)

DFILE *fcb;

DESCRIPTION

Dtdict returns a pointer to the data dictionary for an open RMSfile, fcb. See cdict(C-1) for creating data dictionaries.

The pointer returned should be saved and used on subsequent calls to RMS dictionary functions.

SEE ALSO

cdict(C-1), dtfind(C-3), dtfindn(C-3), dtfindi(C-3)

Chapter 4,

RMS Programming Guide

DIAGNOSTICS

A value of NULL is returned if fcb does not refer to an open RMSfile.

NOTES

The dictionary obtained by calling dtdict must not be closed by calling dtclose(C-3).