Home
last modified time | relevance | path

Searched refs:g_id (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/ttymon/
H A Dtmttydefs.c129 gptr->g_id = d_id; in read_ttydefs()
140 if ((id != NULL) && (strcmp(id, gptr->g_id) != 0)) in read_ttydefs()
232 log("ttylabel:\t%s", gptr->g_id); in read_ttydefs()
288 if (strcmp(ttylabel, tp->g_id) == 0) { in find_def()
342 if (find_def(gptr->g_id) != NULL) { in insert_def()
343 log("Warning -- duplicate entry <%s>, ignored", gptr->g_id); in insert_def()
347 tp->g_id = strsave(gptr->g_id); in insert_def()
420 log("ttylabel:\t%s", gptr->g_id); in dump_ttydefs()
H A Dsttydefs.c91 ptr->g_id = optarg; in main()
240 if (find_label(fp, ttydef->g_id)) { in add_entry()
245 ttydef->g_id); in add_entry()
278 ttydef->g_nextid = ttydef->g_id; in add_entry()
281 (void) fprintf(fp, "%s:%s:%s:A:%s\n", ttydef->g_id, in add_entry()
284 (void) fprintf(fp, "%s:%s:%s::%s\n", ttydef->g_id, in add_entry()
453 np->g_nextid, np->g_id); in check_ref()
H A Dtmchild.c203 speedef->g_id); in tmchild()
452 if (strcmp(speedef->g_nextid, speedef->g_id) == 0) in next_speed()
455 log("%s's next speed-label (%s) is bad.", speedef->g_id, in next_speed()
459 if ((sp = find_def(speedef->g_id)) == NULL) { in next_speed()
461 log("unable to find (%s) again", speedef->g_id); in next_speed()
H A Dttymon.c588 free(tp->g_id); in free_defs()
592 tp->g_id = NULL; in free_defs()
689 if (serial.g_id == NULL) { in get_speed()
694 serial.g_id = strsave(sp->g_id); in get_speed()
H A Dtmstruct.h37 char *g_id; /* id for modes & speeds */ member