mdb_env_create function
@brief Create an LMDB environment handle.
This function allocates memory for a #MDB_env structure. To release
the allocated memory and discard the handle, call #mdb_env_close().
Before the handle may be used, it must be opened using #mdb_env_open().
Various other options may also need to be set before opening the handle,
e.g. #mdb_env_set_mapsize(), #mdb_env_set_maxreaders(), #mdb_env_set_maxdbs(),
depending on usage requirements.
@paramout
env The address where the new handle will be stored
@return A non-zero error value on failure and 0 on success.
Implementation
@ffi.FfiNative<ffi.Int Function(ffi.Pointer<ffi.Pointer<MDB_env>>)>(
'mdb_env_create')
external int mdb_env_create(
ffi.Pointer<ffi.Pointer<MDB_env>> env,
);