Sets the file mode creation mask of the process.
fn set_file_mask(mode: Mode) -> Mode
| Name | Description |
|---|---|
| mode | The mode to be masked. |
Returns the previous mask.
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.