pub fn domain_directory<T: Into<Vec<u8>>>(
domainname: T,
) -> Result<PathBuf, Error>
Expand description
Get base directory for the given domain.
If you want to set the directory, rather than querying its current value, use
bindtextdomain
.
For more information, see bindtextdomain(3).
§Panics
Panics if domainname
contains an internal 0 byte, as such values can’t be passed to the
underlying C API.