current-umask Lassi Kortela 29 Apr 2020 09:43 UTC

> current-directory is also used by Gauche, with a comment that says
> "... is found in ChezScheme, MzScheme, etc."

Great! That should settle it. So e.g.:

* current-directory (per-thread parameter)
* os-current-directory (procedure - 0 args = getter, 1 arg = setter)

* current-umask (per-thread parameter)
* os-[current-]umask (procedure - 0 args = getter, 1 arg = setter)

IMHO "umask" is a bit cryptic and not applicable outside Unix. Could it
be "unix-mask" instead, or simply "file-mask", "file-mode-mask",
"file-permission-mask" or something? What's the equivalent on Windows?