man pdb_CopyRecord (Fonctions bibliothèques) - pdb_CopyRecord

NAME

pdb_CopyRecordpdb_CopyResource - short description

LIBRARY

libpdb

SYNOPSIS

#include <pdb.h>pdb_CopyRecord const struct pdb *db const struct pdb_record *recpdb_CopyResource const struct pdb *db const struct pdb_resource *rsrc

DESCRIPTION

pdb_CopyRecord

allocates a new copies to it the record pointed to by rec in database db , and returns a pointer to the newly-allocated This pointer must later be freed with pdb_FreeRecord , unless it is added to another database using a function such as pdb_AppendRecord .

pdb_CopyResource allocates a new copies to it the resource pointed to by rsrc in database db , and returns a pointer to the newly-allocated This pointer must later be freed with pdb_FreeResource , unless it is added to another database using a function such as pdb_AppendResource .

RETURN VALUE

pdb_CopyRecord

and pdb_CopyResource return a pointer to the newly-allocated or if successful, or NULL otherwise.

SEE ALSO

AUTHORS

Andrew Arensburger Aq arensb@ooblick.com

CETTE PAGE DOCUMENTE AUSSI :