pub fn umask(mask: u32) -> u32
Sets the calling process’s file mode creation mask (umask) and returns the previous mask.
umask