pdb_deleterecordbyid(3)

NAME

pdb_DeleteRecordByID - short description

LIBRARY

libpdb

SYNOPSIS

#include <pdb.h>
int
pdb_DeleteRecordByID(struct pdb *db, const udword id);

DESCRIPTION

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.

SEE ALSO

libpdb(3).

AUTHORS

Andrew Arensburger <arensb@ooblick.com>
BSD Aug 16, 2001
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout