Extracted from Pike v8.0 release 164 as of 2018-07-18.
   

Method System.umask()


Method umask

int umask(void|int mask)

Description

Set the current umask to mask.

If mask is not specified the current umask will not be changed.

Returns

Returns the old umask setting.