umask

Function umask 

Source
pub fn umask() -> u32
Expand description

Gets the calling process’s umask.

Note: On non-Unix systems this is emulated by global variable.