Function lrs::process::set_file_mask

Sets the file mode creation mask of the process.

Syntax

fn set_file_mask(mode: Mode) -> Mode

Arguments

NameDescription
mode

The mode to be masked.

Return value

Returns the previous mask.

Remarks

The mask will be subtracted from the mask used in open etc. That is, if a bit is set in the mask, it will be unset in calls to open etc.

See also