Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/last/
H A Dlast.c100 static char **ttnames; variable
247 ttnames = calloc(lines, sizeof (char *)); in main()
249 if (ttnames == NULL || logouts == NULL) { in main()
261 if (ttnames[i] == NULL) { in main()
271 (void) strlcpy(ttnames[i], bp->ut_line, in main()
273 (void) strlcpy(ttnames[i]+LMAX+1, in main()
275 (void) strlcpy(ttnames[i]+LMAX+HMAX+2, in main()
280 } else if (linehostnameq(ttnames[i], in main()
418 tmpttnames = realloc(ttnames, sizeof (char *)*lines); in reallocate_buffer()
424 ttnames = tmpttnames; in reallocate_buffer()
[all …]