DRECSIZ C-3





Copyright (C) 1994-95 Conetic Software Systems, Inc. All names, products, and services mentioned are the trademarks of their respective organizations.



NAME


drecsiz - return RMSfile record size

SYNOPSIS


#include 

drecsiz (fcb)
DFILE *fcb;

DESCRIPTION


Drecsiz returns the size of the user record of an opened RMSfile.
If dblist(C-3) or drlist(C-3) has been called, the size is the
length of the user record. If dblist(C-3) or drlist(C-3) has not
been called since the call to dlopen(C-3) or dopen(C-3), the size
of the entire RMSfile record is returned.

Fcb is the file block pointer returned by dlopen(C-3) or
dopen(C-3).

SEE ALSO


dlopen(C-3), dopen(C-3), dblist(C-3), drlist(C-3)
Chapter 4, RMS Programming Guide

DIAGNOSTICS

Drecsiz returns a value of BAD (-1) if fcb is not an opened file
block pointer.