/titanic_41/usr/src/cmd/last/ |
H A D | last.c | 64 #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 D | lastcomm.h | 74 #define LMAX 12 macro 78 #define LMAX (sizeof (dummy.ut_line))
|
H A D | lc_pacct.c | 98 LMAX, getdev(acp->ac_tty), in lc_pacct()
|
H A D | lc_exacct.c | 154 flagbits(flag), NMAX, getname(uid), LMAX, getdev(tty), in disp_group()
|
/titanic_41/usr/src/cmd/wall/ |
H A D | wall.c | 68 #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 D | finger.c | 113 #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 D | whodo.c | 76 #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 D | w.c | 78 #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 D | rusers.c | 54 #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 D | sdiff.c | 75 #define LMAX BUFSIZ macro 181 if (llen > LMAX) in main() 182 llen = LMAX; in main()
|
/titanic_41/usr/src/cmd/who/ |
H A D | who.c | 106 #define LMAX (sizeof (utmpp->ut_line)) macro
|