hydrus logo









Valid XHTML 1.0 Transitional

Apache logo

FreeBSD logo

RootDown Radio

Deleting a key

#include "btree.h"

int bdelky(BTA* btact, char* key);

The bdelky function deletes a key from the current root in the file associated with the btact context pointer. The key, a character string, is passed via the pointer in key. If the key does not exist, bdelky returns the error code QNOKEY. bdelky returns zero on successful deletion of a key.

A non-zero return from bdelky indicates an error occurred during the key deletion process.