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

/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c458 struct utmpx *utx; local
466 while ((utx = getutxent()) != NULL) {
467 if (utx->ut_type == USER_PROCESS &&
468 strncmp(utx->ut_user, ppwd->pw_name,
469 strlen(ppwd->pw_name)) == 0 && (strncmp(utx->ut_line,
470 "console", strlen("console")) == 0 || strncmp(utx->ut_line,
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetutx.c868 updwtmpx(const char *filex, struct utmpx *utx) argument
878 utmpx_api2frec(utx, &futx);
1364 getutmpx(const struct utmp *ut, struct utmpx *utx) argument
1366 (void) memcpy(utx->ut_user, ut->ut_user, sizeof (ut->ut_user));
1367 (void) bzero(&utx->ut_user[sizeof (ut->ut_user)],
1368 sizeof (utx->ut_user) - sizeof (ut->ut_user));
1369 (void) memcpy(utx->ut_line, ut->ut_line, sizeof (ut->ut_line));
1370 (void) bzero(&utx->ut_line[sizeof (ut->ut_line)],
1371 sizeof (utx->ut_line) - sizeof (ut->ut_line));
1372 (void) memcpy(utx
1388 getutmp(const struct utmpx *utx, struct utmp *ut) argument
[all...]

Completed in 35 milliseconds