mdb_env_stat function

int mdb_env_stat(
  1. Pointer<MDB_env> env,
  2. Pointer<MDB_stat> stat
)

@brief Return statistics about the LMDB environment.

@paramin env An environment handle returned by #mdb_env_create() @paramout stat The address of an #MDB_stat structure where the statistics will be copied

Implementation

@ffi.FfiNative<ffi.Int Function(ffi.Pointer<MDB_env>, ffi.Pointer<MDB_stat>)>(
    'mdb_env_stat')
external int mdb_env_stat(
  ffi.Pointer<MDB_env> env,
  ffi.Pointer<MDB_stat> stat,
);