Mission Base

Program Base Library Functions

int pblKfDelete

( pblKeyFile_t* k )

Delete the current record of the key file.


Delete the current record of the key file.

The current record of the file is set to the next record or if the last record is deleted, to the previous record.

If there are no more records in the file after the delete the current record is of course unpositioned

- the file must be open for update,
- no space will be given back to the file system,
- if an index block and its successor or its predeccessor together use less than half of a block the two blocks are merged

k - key file to delete record from
int rc == 0: call went ok
int rc != 0: some error occured, see pbl_errno

Alphabetic index

This page was generated with the help of DOC++.