Searched refs:devtty (Results 1 – 2 of 2) sorted by relevance
36 static char devtty[5+LSZ+1] = "/dev/xxxxxxxx"; variable44 strncpy(&devtty[5], linename, LSZ);45 if (stat(devtty, &sb) != -1 && (sb.st_mode&S_IFMT) == S_IFCHR)
122 static char *devtty; variable158 devtty = ttyname(1); in main()159 (void) chmod(devtty, 0000); /* nobody, not even us */ in main()692 (void) chmod(devtty, statbuf.st_mode); in endup()