xcall MIAMEX, MX_GETUMSK, umask
(UNIX only) MX_GETUMSK (MIAMEX 69) retrieves the current UMASK setting. umask (Num) will return with the current value of the UMASK, treating it as if it were a decimal number.
For example, if the UMASK is 111 (which is actually an octal pattern), the returned umask value will be 111 (decimal).