mcDBresSet — Create dataset on database
#include <memcom.h> int mcDBresSet(int handle, const char* name, const char* type, mcOff size);
mcDBresSet
creates a dataset on database
identified by handle
. The contents of the set
remain undefined until the set is written to the database. If
completed successfully, the function returns 0. Otherwise, a
negative value indicating the MemCom
error number is returned.
Warning: It is recommended to initialize sets with
mcDBinitSet
, since
reading sets which have not been initialized can lead to problems,
especially with K
sets, where the
NULL
terminator is not defined!
K
sets must be initialized with the 0
character.