pub unsafe extern "C" fn mdb_env_get_path(
env: *mut MDB_env,
path: *mut *const c_char,
) -> c_int
Expand description
Return the path that was used in #mdb_env_open().
§Arguments
env
(direction in) - An environment handle returned by #mdb_env_create()path
(direction out) - 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.
§Returns
A non-zero error value on failure and 0 on success. Some possible errors are:
- EINVAL - an invalid parameter was specified.