Searched refs:utp (Results 1 – 2 of 2) sorted by relevance
| /freebsd/libexec/comsat/ |
| H A D | comsat.c | 111 struct utmpx *utp; in mailfor() local 131 while ((utp = getutxent()) != NULL) in mailfor() 132 if (utp->ut_type == USER_PROCESS && !strcmp(utp->ut_user, name)) in mailfor() 133 notify(utp, buf, offset, folder); in mailfor() 140 notify(struct utmpx *utp, char file[], off_t offset, int folder) in notify() argument 147 const char *s = utp->ut_line; in notify() 154 utp->ut_line); in notify() 157 (void)snprintf(tty, sizeof(tty), "%s%s", _PATH_DEV, utp->ut_line); in notify() 159 dsyslog(LOG_DEBUG, "%s: wrong mode on %s", utp->ut_user, tty); in notify() 162 dsyslog(LOG_DEBUG, "notify %s on %s", utp->ut_user, tty); in notify() [all …]
|
| /freebsd/crypto/heimdal/appl/telnet/telnetd/ |
| H A D | sys_term.c | 1788 struct utmp *utp; local 1805 utp = getutid(wtp); 1806 if (utp == 0) { 1813 if (utp->ut_type != USER_PROCESS || utp->ut_jid == 0) 1820 ret = jobend(utp->ut_jid, utp->ut_tpath, utp->ut_user); 1865 struct utmp *utp = NULL; local 1868 utp = jid_getutid(pty_saved_jid); 1870 if (utp == 0) { 1875 cleantmpdir(jid, utp->ut_tpath, utp->ut_user);
|