Function lrs::syscall::umask

Sets the file mode creating mask of the process.

Syntax

fn umask(mode: u16) -> u16

Arguments

NameDescription
mode

The mode to be masked.

Return value

Returns the previous mask.

See also