API Initialization and Cleanup

Before using the NDB API, it must first be initialized by calling the ndb_init() function. Once an NDB API application is complete, call ndb_end(0) to perform any necessary cleanup.


It should be possible to use fork() in NDB API applications, but you must do so prior to calling ndb_init() or my_init() to avoid sharing of resources such as files and connections between processes.