splinter_create_or_open() : Opens Or Creates A Splinter Memory Store
The splinter_create_or_open() function behaves identically to the
splinter_open_or_create(), except
that it will first attempt to create the store with specified geometry and
open an existing only if encountered.
Prototype & Rationale:
The function splinter_create_or_open() is prototyped in splinter.h as:
int splinter_create_or_open(const char *name_or_path, size_t slots, size_t max_value_sz);
Refer To Reference Implementation
Refer to splinter_open_or_create() for exhaustive details, as they're identical with the exception of the order in which operations are attempted.
See Also:
The following functions are also relevant:
splinter_create(),
splinter_open(),
splinter_open_or_create(),
splinter_open_numa() and
splinter_close().