Searched defs:cur_umask (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/mkdir/
H A Dmkdir.c82 mode_t cur_umask; local
99 cur_umask = umask(0);
107 mode = newmode(optarg, ALLRWX, cur_umask, "", "");
130 modediff = cur_umask & (S_IXUSR | S_IWUSR);
132 cur_umask &= ~modediff;
134 (void) umask(cur_umask);
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dalerts.c92 int cur_umask; local
202 umask (cur_umask = umask(0));
203 fdprintf (fdout, "%03o", cur_umask);

Completed in 2035 milliseconds