Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c1978 struct utmpx *utxp; in wallmsg() local
2034 while ((utxp = getutxent()) != NULL) { in wallmsg()
2036 if (utxp->ut_name[0] == '\0' || in wallmsg()
2037 utxp->ut_line[0] == '\0' || in wallmsg()
2038 utxp->ut_type != USER_PROCESS) in wallmsg()
2048 utxp->ut_name, UNAMESZ) == 0) in wallmsg()
2056 if (utxp->ut_line[0] == '/') { in wallmsg()
2057 (void) strncpy(dev, utxp->ut_line, UDEVSZ); in wallmsg()
2060 (void) strncat(dev, utxp->ut_line, UDEVSZ); in wallmsg()
2072 (void) strncpy(w->ut_name, utxp->ut_name, in wallmsg()