DTFINDN C-3


NAME



dtfindn - find nth field in dictionary

SYNOPSIS



#include

struct fd *dtfindn (fp, n)
DICT *fp;
int n;

DESCRIPTION



Dtfindn looks up the nth field in an open RMS dictionary file.
The dictionary fields are numbered starting at 1.

Fp is the value returned from dtdict(C-3) or dtopen(C-3).

The value returned is a pointer to a structure defined in the
include file .

SEE ALSO



dtdict(C-3), dtopen(C-3), dtfind(C-3)
Chapter 4, RMS Programming Guide

DIAGNOSTICS

A value of NULL is returned if the field is not in the RMS
dictionary file or if fp is not an opened RMS dictionary file.

NOTES



The returned value points to static data whose contents are
overwritten with every call.