pdb_DeleteRecordByID3
Short description
Usage
#include <pdb.h>
int
pdb_DeleteRecordByID(struct pdb *db, const udword id);
Library
libpdb
Overview
pdb_DeleteRecordByID looks for a record in the database pointed to by db whose ID is id, removes it from the database, and frees the memory taken up by that record.
Return value
pdb_DeleteRecordByID returns 0 if successful, or a negative value otherwise. If there was no record in db with ID id, that is considered a success, since the record was to be deleted anyway.
Releases
Unchanged in 3 releases since Debian 3.0 (Woody).