MGdbAdd(3) Programmer's Manual MGdbAdd(3)
NAME
MGdbAdd -- Adds a new database record
LIBRARY
MojaveGreen Software Co general utilities library (libMG, -lMG)
SYNOPSIS
#include <libMG.h>
int
MGdbAdd(classDb* db, char* field0, char* field1, ..., NULL);
DESCRIPTION
Add a new database record.
o char* database object
o char* field0 contains the data to be placed into field #0 of the new
record.
o char* field1 contains the data to be placed into field #1 of the new
record.
o "..." Add as many fields as are in the data base.
o The final parameter serves as a terminator and must be either 0 or
NULL.
RETURN VALUES
MGdbAdd() returns 0 on success otherwise coredumps with a message why.
SEE ALSO
libMG(3)
AUTHORS
Michael C. Shultz <ringworm01@gmail.com>
FreeBSD February 6, 2012 FreeBSD
NAME - LIBRARY - SYNOPSIS - DESCRIPTION - RETURN VALUES - SEE ALSO -
AUTHORS -
|