Searched refs:HMAX (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/last/ |
H A D | last.c | 61 * Use the full lengths from utmpx for NMAX, LMAX and HMAX . 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]; 264 * LMAX+HMAX+NMAX+3 bytes have been 267 * ut_host is longer than HMAX, 274 ut_host, HMAX+1); 275 (void) strlcpy(ttnames[i]+LMAX+HMAX+2, 436 ttnames[i] = (char *)malloc(LMAX + HMAX [all...] |
/illumos-gate/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); 294 p->host[HMAX] = 0; 414 bcopy(u->ut_host, p->host, HMAX); 415 p->host[HMAX] = 0; 424 bcopy(u->ut_host, new->host, HMAX); 425 new->host[HMAX] = 0; 752 h_max = min(HMAX, sizeof (ll.ll_host));
|
/illumos-gate/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); 748 "%.*s", ttyn, HMAX, remote_host, 759 ttyn, HMAX, remote_host); 1745 " %.*s", ttyn, HMAX, 1866 ttyn, HMAX, remote_host, NMAX, 1879 ttyn, HMAX, remote_host);
|
/illumos-gate/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);
|
Completed in 52 milliseconds