dfindl - find last active record in RMSfile
rno_t dfindl (buffer, fcb)
Dfindl finds the last active record in an opened RMSfile.
Fcb is the file block pointer returned by dlopen(C-3) or dopen(C-3).
The returned record number may be saved and used on a subsequent call to dread(C-3). The record found is returned in buffer.
dlopen(C-3), dopen(C-3), dfindp(C-3), dread(C-3)
RMS Programming Guide
Dfindl returns a value of BAD (-1) if there is no active record or if an I/O error occurred. If no record is found, the contents of buffer are undefined.