Searched refs:utx (Results 1 – 1 of 1) sorted by relevance
733 set_utmpx_time(struct logininfo *li, struct utmpx *utx) in set_utmpx_time() argument736 utx->ut_tv.tv_sec = li->tv_sec; in set_utmpx_time()737 utx->ut_tv.tv_usec = li->tv_usec; in set_utmpx_time()739 utx->ut_time = li->tv_sec; in set_utmpx_time()744 construct_utmpx(struct logininfo *li, struct utmpx *utx) in construct_utmpx() argument749 memset(utx, '\0', sizeof(*utx)); in construct_utmpx()752 line_abbrevname(utx->ut_id, li->line, sizeof(utx->ut_id)); in construct_utmpx()758 utx->ut_type = USER_PROCESS; in construct_utmpx()761 utx->ut_type = DEAD_PROCESS; in construct_utmpx()764 line_stripname(utx->ut_line, li->line, sizeof(utx->ut_line)); in construct_utmpx()[all …]