Home
last modified time | relevance | path

Searched refs:utp (Results 1 – 2 of 2) sorted by relevance

/freebsd/libexec/comsat/
H A Dcomsat.c111 struct utmpx *utp; in mailfor() local
116 char buf[sizeof(_PATH_MAILDIR) + sizeof(utp->ut_user) + 1]; in mailfor()
117 char buf2[sizeof(_PATH_MAILDIR) + sizeof(utp->ut_user) + 1]; in mailfor()
127 sprintf(buf, "%s/%.*s", _PATH_MAILDIR, (int)sizeof(utp->ut_user), in mailfor()
131 (int)sizeof(utp->ut_user), file); in mailfor()
136 while ((utp = getutxent()) != NULL) in mailfor()
137 if (utp->ut_type == USER_PROCESS && !strcmp(utp->ut_user, name)) in mailfor()
138 notify(utp, file, offset, folder); in mailfor()
145 notify(struct utmpx *utp, char file[], off_t offset, int folder) in notify() argument
152 const char *s = utp->ut_line; in notify()
[all …]
/freebsd/crypto/heimdal/appl/telnet/telnetd/
H A Dsys_term.c1788 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);