[Linux manuál]
Návod, kniha: Linux Programmer's Manual
#include <sys/stat.h>
mode_t getumask(void);
except that it is documented to be thread-safe (that is, shares a lock with the
umask() library call).
getumask: získat masku pro vytvoření souboru
Originální popis anglicky: getumask - get file creation maskNávod, kniha: Linux Programmer's Manual
STRUČNĚ
#include <sys/types.h>POPIS / INSTRUKCE
This function returns the current file creation mask. It is equivalent to
mode_t getumask(void) {
mode_t mask = umask(0);
umask(mask);
return mask;
}
NOTES
This function is documented but not implemented yet in glibc 2.2.5.ODPOVÍDAJÍCÍ
This is a vapourware GNU extension.SOUVISEJÍCÍ
umask(2)| 2002-08-25 | GNU |