pub fn merge_and_set_umask(
current_umask: mode_t,
mask_string: &str,
) -> Result<mode_t, Error>
Expand description
If mask_string is a mode string then merge it with umask and set the current umask. If mask_string is an int then treat it as a umask and set the current umask (no merge)).