director.c | 130 const char *termpath, *term, *slave; local in function:main 139 termpath = term = slave = NULL; 150 termpath = optarg; 182 if (termpath == NULL) 183 termpath = DEF_TERMPATH; 206 if (stat(termpath, &st) == -1) 207 err(1, "Cannot stat %s", termpath); 211 int l = snprintf(tinfo, sizeof(tinfo), "%s/%s", termpath, 222 if ((fd = open(termpath, O_RDONLY)) == -1) 223 err(1, "Cannot open `%s'", termpath); [all...] |