Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/last/
H A Dlast.c64 #define LMAX (sizeof (((struct utmpx *)0)->ut_line)) macro
74 #define lineq(a, b) (strncmp(a, b, LMAX) == 0)
78 (lineq(a, b)&&hosteq(a+LMAX+1, c)&&nameq(a+LMAX+HMAX+2, d))
272 LMAX+1); in main()
273 (void) strlcpy(ttnames[i]+LMAX+1, in main()
275 (void) strlcpy(ttnames[i]+LMAX+HMAX+2, in main()
297 LINE_WIDTH, LMAX, bp->ut_line); in main()
436 ttnames[i] = (char *)malloc(LMAX + HMAX + NMAX + 3); in memory_alloc()
/titanic_41/usr/src/cmd/lastcomm/
H A Dlastcomm.h74 #define LMAX 12 macro
78 #define LMAX (sizeof (dummy.ut_line))
H A Dlc_pacct.c98 LMAX, getdev(acp->ac_tty), in lc_pacct()
H A Dlc_exacct.c154 flagbits(flag), NMAX, getname(uid), LMAX, getdev(tty), in disp_group()
/titanic_41/usr/src/cmd/wall/
H A Dwall.c68 #define LMAX (sizeof (((struct utmpx *)0)->ut_line)) macro
341 static char device[LMAX + 6]; in sendmes()
383 (void) snprintf(s, sizeof (device), "/dev/%.*s", LMAX, p->ut_line); in sendmes()
396 LMAX, p->ut_line, in sendmes()
400 LMAX, p->ut_line); in sendmes()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c113 #define LMAX sizeof (((struct utmpx *)0)->ut_line) macro
118 char tty[LMAX+1]; /* null terminated tty line */
291 bcopy(u->ut_line, p->tty, LMAX); in doall()
292 p->tty[LMAX] = 0; in doall()
412 bcopy(u->ut_line, p->tty, LMAX); in donames()
413 p->tty[LMAX] = 0; in donames()
422 bcopy(u->ut_line, new->tty, LMAX); in donames()
423 new->tty[LMAX] = 0; in donames()
751 l_max = min(LMAX, sizeof (ll.ll_line)); in findwhen()
795 static char buffer[TTYLEN + LMAX + 1] = "/dev/"; in findidle()
[all …]
/titanic_41/usr/src/cmd/whodo/
H A Dwhodo.c76 #define LMAX (sizeof (((struct utmpx *)0)->ut_line)) macro
477 (void) printf("%-*.*s ", LINE_WIDTH, (int)LMAX, in main()
492 LINE_WIDTH, (int)LMAX, ut->ut_line, in main()
519 LINE_WIDTH, (int)LMAX, " ?", (int)up->p_upid, 0L, 0L, in showproc()
523 LINE_WIDTH, (int)LMAX, getty(up->p_ttyd), (int)up->p_upid, in showproc()
/titanic_41/usr/src/cmd/w/
H A Dw.c78 #define LMAX (sizeof (dummy.ut_line)) macro
489 PRINTF(("%-*.*s ", LINE_WIDTH, LMAX, ut->ut_line)); in main()
493 PRINTF(("%-*.*s ", LINE_WIDTH, LMAX, in main()
496 PRINTF(("%-*.*s ", LINE_WIDTH, LMAX, in main()
/titanic_41/usr/src/cmd/rpcsvc/
H A Drusers.c54 #define LMAX 8 /* when printing. */ macro
585 (void) strncat(buf, rup->ut_line, LMAX); in putline_3()
586 (void) printf("%-*.*s", MACHINELEN+LMAX, MACHINELEN+LMAX, buf); in putline_3()
/titanic_41/usr/src/cmd/sdiff/
H A Dsdiff.c75 #define LMAX BUFSIZ macro
181 if (llen > LMAX) in main()
182 llen = LMAX; in main()
/titanic_41/usr/src/cmd/who/
H A Dwho.c106 #define LMAX (sizeof (utmpp->ut_line)) macro