mdb_env_get_flags function

int mdb_env_get_flags(
  1. Pointer<MDB_env> env,
  2. Pointer<UnsignedInt> flags
)

@brief Get environment flags.

@paramin env An environment handle returned by #mdb_env_create() @paramout flags The address of an integer to store the flags @return A non-zero error value on failure and 0 on success. Some possible errors are:

  • EINVAL - an invalid parameter was specified.

Implementation

@ffi.FfiNative<
    ffi.Int Function(ffi.Pointer<MDB_env>,
        ffi.Pointer<ffi.UnsignedInt>)>('mdb_env_get_flags')
external int mdb_env_get_flags(
  ffi.Pointer<MDB_env> env,
  ffi.Pointer<ffi.UnsignedInt> flags,
);