Lines Matching defs:up
430 * clean up before exiting
748 * need to be decrypted and sent back up to the application
1509 struct utmpx *up;
1510 char user[sizeof (up->ut_user) + 1];
1511 char ttyn[sizeof (up->ut_line) + 1];
1512 char rhost[sizeof (up->ut_host) + 1];
1514 /* while cleaning up dont allow disruption */
1518 while (up = getutxent()) {
1519 if (up->ut_pid == pid) {
1520 if (up->ut_type == DEAD_PROCESS)
1521 break; /* Cleaned up elsewhere. */
1529 if (up->ut_type == USER_PROCESS) {
1530 (void) strlcpy(user, up->ut_user,
1532 (void) strlcpy(ttyn, up->ut_line,
1534 (void) strlcpy(rhost, up->ut_host,
1553 up->ut_type = DEAD_PROCESS;
1554 up->ut_exit.e_termination = WTERMSIG(0);
1555 up->ut_exit.e_exit = WEXITSTATUS(0);
1556 (void) time(&up->ut_tv.tv_sec);
1558 if (modutx(up) == NULL) {
1564 (void) pututxline(up);
1565 updwtmpx("wtmpx", up);