Lines Matching refs:utp
127 void notify(struct utmpx *utp, int offset);
250 struct utmpx *utp = &utmp[nutmp]; local
271 while (--utp >= utmp)
272 if ((utp->ut_type == USER_PROCESS) &&
273 (!strncmp(utp->ut_name, name, sizeof (utmp[0].ut_name))))
274 notify(utp, offset);
280 notify(utp, offset) in notify() argument
281 struct utmpx *utp; in notify()
294 strncat(tty, utp->ut_line, sizeof (utp->ut_line));
295 dsyslog(LOG_DEBUG, "notify %s on %s\n", utp->ut_name, tty);
309 strncpy(name, utp->ut_name, sizeof (utp->ut_name));