I assumed the umask() function is a:
shell function containing a variable commonly referred to as file creation mask
but I was wrong because umask() is not a shell function and doesn't contain such variable.
If the umask() function is not a "shell function" is it true to name it a "kernel function"?