Home | History | Annotate | Download | only in last

Lines Matching refs:TTY

106 	char	tty[128];		/* terminal name */
108 } TTY;
109 static TTY *ttylist; /* head of linked list */
117 static TTY *addtty(const char *);
134 "\t [-N namesize] [-t tty] [user ...]\n", getprogname(),
288 static TTY *
289 addtty(const char *tty)
291 TTY *cur;
293 if (!(cur = (TTY *)malloc(sizeof(TTY))))
297 memmove(cur->tty, tty, sizeof(cur->tty));
329 * convert tty to correct name.
339 * kludge -- we assume that all tty's end with
343 if (asprintf(&mval, "tty%s", arg) == -1)