Searched refs:devtty (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/acct/lib/
H A Dlintodev.c36 static char devtty[5+LSZ+1] = "/dev/xxxxxxxx"; variable
44 strncpy(&devtty[5], linename, LSZ);
45 if (stat(devtty, &sb) != -1 && (sb.st_mode&S_IFMT) == S_IFCHR)
/illumos-gate/usr/src/cmd/tabs/
H A Dtabs.c122 static char *devtty; variable
158 devtty = ttyname(1);
159 (void) chmod(devtty, 0000); /* nobody, not even us */
692 (void) chmod(devtty, statbuf.st_mode);

Completed in 70 milliseconds