Lines Matching refs:entryx

482 invoke_utmp_update(const struct utmpx *entryx)  in invoke_utmp_update()  argument
495 char pad[sizeof (entryx->pad) * 2 + 1]; in invoke_utmp_update()
496 char host[sizeof (entryx->ut_host) + 1]; in invoke_utmp_update()
506 (void) strncpy(user, entryx->ut_user, sizeof (entryx->ut_user)); in invoke_utmp_update()
507 user[sizeof (entryx->ut_user)] = '\0'; in invoke_utmp_update()
508 (void) strncpy(id, entryx->ut_id, sizeof (entryx->ut_id)); in invoke_utmp_update()
509 id[sizeof (entryx->ut_id)] = '\0'; in invoke_utmp_update()
510 (void) strncpy(line, entryx->ut_line, sizeof (entryx->ut_line)); in invoke_utmp_update()
511 line[sizeof (entryx->ut_line)] = '\0'; in invoke_utmp_update()
512 (void) sprintf(pid, "%d", (int)entryx->ut_pid); in invoke_utmp_update()
513 (void) sprintf(type, "%d", entryx->ut_type); in invoke_utmp_update()
514 (void) sprintf(term, "%d", entryx->ut_exit.e_termination); in invoke_utmp_update()
515 (void) sprintf(exit, "%d", entryx->ut_exit.e_exit); in invoke_utmp_update()
516 (void) sprintf(time, "%ld", entryx->ut_tv.tv_sec); in invoke_utmp_update()
517 (void) sprintf(time_usec, "%ld", entryx->ut_tv.tv_usec); in invoke_utmp_update()
518 (void) sprintf(session_id, "%d", entryx->ut_session); in invoke_utmp_update()
520 cp = (unsigned char *)entryx->pad; in invoke_utmp_update()
521 for (i = 0; i < sizeof (entryx->pad); ++i) { in invoke_utmp_update()
527 (void) sprintf(syslen, "%d", entryx->ut_syslen); in invoke_utmp_update()
528 (void) strlcpy(host, entryx->ut_host, sizeof (host)); in invoke_utmp_update()
595 strncmp(&entryx->ut_line[0], &curx->ut_line[0], in invoke_utmp_update()