NAME
ddelete - delete current record
SYNOPSIS
#include <cbase/dirio.h>
rno_t ddelete (fcb)
DFILE *fcb;
DESCRIPTION
Ddelete logically deletes the current record from an opened RMSfile. Once a record has been deleted, none of the find functions will be able to locate the record.
If the RMSfile contains secondary keys, the index key values are removed at the time of the call to ddelete.
Fcb is the file block pointer returned by dlopen(C-3) or dopen(C-3).
SEE ALSO
dlopen(C-3), (C-3)
Chapter 4,
RMS Programming Guide
DIAGNOSTICS
Ddelete returns a value of BAD (-1) if a current record has not been defined at the time of the call to ddelete or if an I/O error occurred.