Lines Matching defs:ttylabel
48 * Usage: ttyadm [options] -d device -s service -l ttylabel
222 (void)fprintf(stderr, "Usage:\tttyadm [ options ] -d device -s service -l ttylabel\n");
240 * check_label - if ttylabel exists in /etc/ttydefs, return 0
245 check_label(ttylabel)
246 char *ttylabel;
251 if ((ttylabel == NULL) || (*ttylabel == '\0')) {
252 (void)fprintf(stderr, "error -- ttylabel is missing");
256 (void)fprintf(stderr, "error -- \"%s\" does not exist, can't verify ttylabel <%s>\n", TTYDEFS, ttylabel);
259 if (find_label(fp,ttylabel)) {
264 (void)fprintf(stderr,"error -- can't find ttylabel <%s> in \"%s\"\n",
265 ttylabel, TTYDEFS);