Searched refs:IDLEN (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | getut.c | 57 #define IDLEN 4 /* length of id field in utmp */ macro 461 unsigned char saveid[IDLEN]; in _compat_makeut() 464 for (i = 0; i < IDLEN; i++) in _compat_makeut() 486 (void) memset(saveid, i, IDLEN); in _compat_makeut() 493 (void) memcpy(saveid, utp->ut_id, IDLEN); in _compat_makeut() 500 (void) memcpy(utmp->ut_id, utp->ut_id, IDLEN); in _compat_makeut() 549 for (i = 0; i < IDLEN; ++i) in _compat_modut() 580 for (i = 0; i < IDLEN; ++i) in idcmp() 600 char copyid[IDLEN]; /* work area */ in allocid() 602 (void) memcpy(copyid, srcid, IDLEN); in allocid() [all …]
|
H A D | getutx.c | 66 #define IDLEN 4 /* length of id field in utmp */ macro 919 for (i = 0; i < IDLEN; ++i) { in modutx() 981 for (i = 0; i < IDLEN; ++i) in idcmp() 1002 char copyid[IDLEN]; /* work area */ in allocid() 1004 (void) memcpy(copyid, srcid, IDLEN); in allocid() 1006 for (i = 0; i < IDLEN; ++i) { in allocid() 1066 (void) memcpy(srcid, copyid, IDLEN); in allocid() 1149 unsigned char saveid[IDLEN]; /* the last id we matched that was */ in makeutx() 1157 if (memchr(utmp->ut_id, SC_WILDC, IDLEN) != NULL) { in makeutx() 1168 (void) memset(saveid, falphanum, IDLEN); in makeutx() [all …]
|
/titanic_41/usr/src/head/ |
H A D | sac.h | 42 #define IDLEN 4 /* length in bytes of a utmp id */ macro
|
/titanic_41/usr/src/cmd/saf/ |
H A D | structs.h | 75 char sc_utid[IDLEN]; /* utmp id of PM */
|
H A D | sac.c | 319 (void) memcpy(sp->sc_utid, uxp->ut_id, IDLEN); in readutmpx() 351 IDLEN); in readutmpx() 474 for (i = 0; i < IDLEN; ++i) { in cleanutx() 551 (void) memset(sp->sc_utid, '\0', IDLEN); in account() 553 (void) memcpy(sp->sc_utid, up->ut_id, IDLEN); in account()
|
H A D | readtab.c | 130 (void) memset(sp->sc_utid, '\0', IDLEN);
|