hydrus logo









Valid XHTML 1.0 Transitional

Apache logo

FreeBSD logo

RootDown Radio

Deleting a key and associated data

#include "btree.h"

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

The btdel function deletes a key and data record in the file associated with the btact context pointer. key is a character pointer, identifying the key to delete. If deletion of the key and data is successful, btdel returns zero.

A non-zero return from btdel indicates an error occurred.