ddelete - delete current record
#include
rno_t ddelete (fcb)
DFILE *fcb;
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).
dlopen(C-3), dopen(C-3)
Chapter 4, RMS Programming Guide
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.