Lines Matching defs:utmpx
45 #include <utmpx.h>
102 struct utmpx *utmpx;
114 char term[sizeof tpath + sizeof (utmpx->ut_line)];
341 while ((utmpx = getutxent()) != NULL) {
342 if (utmpx->ut_name[0] &&
343 strncmp(utmpx->ut_name, IGNOREUSER,
344 sizeof (utmpx->ut_name))) {
348 if (utmpx->ut_type != USER_PROCESS &&
349 utmpx->ut_user[0] != '\0')
355 (void) strncat(term, utmpx->ut_line,
356 sizeof (utmpx->ut_line));
368 gettext("%.*s in utmpx is not a tty\n"),
369 sizeof (utmpx->ut_line), utmpx->ut_line);
370 syslog(LOG_CRIT, "%.*s in utmpx is not "
371 "a tty\n", sizeof (utmpx->ut_line),
372 utmpx->ut_line);