DRECSIZ C-3

NAME

drecsiz - return RMSfile record size

SYNOPSIS

#include <cbase/dirio.h>

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.