Lines Matching defs:up
130 struct utmpx *up;
139 while (up = getutxent()) {
140 if (up->ut_pid == pid) {
143 if (up->ut_type == DEAD_PROCESS) {
145 * Cleaned up elsewhere.
152 up->ut_type = DEAD_PROCESS;
153 up->ut_exit.e_termination = WTERMSIG(status);
154 up->ut_exit.e_exit = WEXITSTATUS(status);
155 (void) time(&up->ut_tv.tv_sec);
157 if (pututxline(up) != NULL) {
163 updwtmpx(WTMPX_FILE, up);
211 struct utmpx *up;
217 while (up = getutxent()) {
218 if (up->ut_type == RUN_LVL &&
219 sscanf(up->ut_line, RUNLVL_MSG, &rl) == 1)