Home
last modified time | relevance | path

Searched refs:IDLEN (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/lib/libc/port/gen/
H A Dgetut.c57 #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 Dgetutx.c66 #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_50/usr/src/head/
H A Dsac.h42 #define IDLEN 4 /* length in bytes of a utmp id */ macro
/titanic_50/usr/src/cmd/saf/
H A Dstructs.h75 char sc_utid[IDLEN]; /* utmp id of PM */
H A Dsac.c319 (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 Dreadtab.c130 (void) memset(sp->sc_utid, '\0', IDLEN);