file_mode
pub fn umask() -> u32
Gets the calling process’s umask.
Note: On non-Unix systems this is emulated by global variable.