[][src]Function lmdb_sys::mdb_env_get_path

pub unsafe extern "C" fn mdb_env_get_path(
    env: *mut MDB_env,
    path: *mut *const c_char
) -> c_int

@brief Return the path that was used in #mdb_env_open().

@param[in] env An environment handle returned by #mdb_env_create() @param[out] path Address of a string pointer to contain the path. This is the actual string in the environment, not a copy. It should not be altered in any way. @return A non-zero error value on failure and 0 on success. Some possible errors are:

  • EINVAL - an invalid parameter was specified.