Function file_mode::set_umask[][src]

pub fn set_umask(umask: u32) -> u32

Sets the calling process’s umask.

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