Searched defs:utxp (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c1991 struct utmpx *utxp; local
2047 while ((utxp = getutxent()) != NULL) {
2049 if (utxp->ut_name[0] == '\0' ||
2050 utxp->ut_line[0] == '\0' ||
2051 utxp->ut_type != USER_PROCESS)
2061 utxp->ut_name, UNAMESZ) == 0)
2069 if (utxp->ut_line[0] == '/') {
2070 (void) strncpy(dev, utxp->ut_line, UDEVSZ);
2073 (void) strncat(dev, utxp->ut_line, UDEVSZ);
2085 (void) strncpy(w->ut_name, utxp
[all...]

Completed in 67 milliseconds