Lines Matching defs:up
128 struct utmpx *up;
137 while (up = getutxent()) {
138 if (up->ut_pid == pid) {
141 if (up->ut_type == DEAD_PROCESS) {
143 * Cleaned up elsewhere.
150 up->ut_type = DEAD_PROCESS;
151 up->ut_exit.e_termination = WTERMSIG(status);
152 up->ut_exit.e_exit = WEXITSTATUS(status);
153 (void) time(&up->ut_tv.tv_sec);
155 if (pututxline(up) != NULL) {
161 updwtmpx(WTMPX_FILE, up);
209 struct utmpx *up;
215 while (up = getutxent()) {
216 if (up->ut_type == RUN_LVL &&
217 sscanf(up->ut_line, RUNLVL_MSG, &rl) == 1)