Searched refs:HMAX (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/cmd/last/ |
H A D | last.c | 65 #define HMAX (sizeof (((struct utmpx *)0)->ut_host)) macro 76 #define hosteq(a, b) (strncmp(a, b, HMAX) == 0) 78 (lineq(a, b)&&hosteq(a+LMAX+1, c)&&nameq(a+LMAX+HMAX+2, d)) 105 static char hostf[HMAX + 1]; 274 ut_host, HMAX+1); in main() 275 (void) strlcpy(ttnames[i]+LMAX+HMAX+2, in main() 436 ttnames[i] = (char *)malloc(LMAX + HMAX + NMAX + 3); in memory_alloc()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | finger.c | 114 #define HMAX sizeof (((struct utmpx *)0)->ut_host) macro 119 char host[HMAX+1]; /* null terminated remote host name */ 293 bcopy(u->ut_host, p->host, HMAX); in doall() 294 p->host[HMAX] = 0; in doall() 414 bcopy(u->ut_host, p->host, HMAX); in donames() 415 p->host[HMAX] = 0; in donames() 424 bcopy(u->ut_host, new->host, HMAX); in donames() 425 new->host[HMAX] = 0; in donames() 752 h_max = min(HMAX, sizeof (ll.ll_host)); in findwhen()
|
/titanic_44/usr/src/cmd/login/ |
H A D | login.c | 153 #define HMAX sizeof (((struct utmpx *)0)->ut_host) macro 264 static char remote_host[HMAX]; 614 ttyn, HMAX, remote_host); in main() 748 "%.*s", ttyn, HMAX, remote_host, in log_bad_attempts() 759 ttyn, HMAX, remote_host); in log_bad_attempts() 1745 " %.*s", ttyn, HMAX, in chdir_to_dir_user() 1866 ttyn, HMAX, remote_host, NMAX, in login_authenticate() 1879 ttyn, HMAX, remote_host); in login_authenticate()
|
/titanic_44/usr/src/cmd/rpcsvc/ |
H A D | rusers.c | 55 #define HMAX 16 /* "Logged in" host name. */ macro 595 (void) printf(" (%.*s)", HMAX, rup->ut_host); in putline_3()
|