Extracted from Pike v8.0 release 240 as of 2016-05-31.
   

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.