Searched defs:utp (Results 1 - 2 of 2) sorted by relevance
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getut.c | 454 struct utmp *utp; /* "current" utmp entry being examined */ local 485 while ((utp = _compat_getutent()) != 0) { 486 if (idcmp(utmp->ut_id, utp->ut_id)) 488 if (utp->ut_type == DEAD_PROCESS) 490 (void) memcpy(saveid, utp->ut_id, _UTMP_ID_LEN); 493 if (utp) { 497 (void) memcpy(utmp->ut_id, utp->ut_id, _UTMP_ID_LEN); 498 utp = _compat_pututline(utmp); 499 if (utp) 500 _compat_updwtmp(WTMP_FILE, utp); 538 _compat_modut(struct utmp *utp) argument [all...] |
H A D | getutx.c | 909 * args: utp- point to utmpx structure to be created 912 modutx(const struct utmpx *utp) argument 921 if (utp->ut_id[i] == _UTMP_ID_WILDCARD) 928 (void) memcpy(&utmp, utp, sizeof (utmp)); 959 modut(struct utmp *utp) argument 964 getutmpx(utp, &utmpx); 968 getutmp(utmpx2, utp); 969 return (utp); 1149 struct utmpx *utp; local 1227 utp [all...] |
Completed in 23 milliseconds