Searched refs:utx (Results 1 - 9 of 9) sorted by relevance
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | write.c | 101 struct utmpx *utx; local 103 utx = (struct utmpx *) nbuf; 107 (void) strcpy(utx->ut_user, ut->ut_name); 108 (void) memset(utx->ut_id, 0, sizeof (utx->ut_id)); 109 (void) strcpy(utx->ut_line, ut->ut_line); 110 utx->ut_pid = 0; 111 if ((strcmp(utx->ut_user, "") == 0) && 112 (strcmp(utx->ut_host, "") == 0)) 113 utx [all...] |
H A D | read.c | 88 struct utmpx *utx; local 90 utx = (struct utmpx *)nbuf; 93 while ((char *)utx < (nbuf + len)) { 94 (void) strncpy(ut->ut_line, utx->ut_line, sizeof (ut->ut_line)); 95 (void) strncpy(ut->ut_name, utx->ut_user, sizeof (ut->ut_name)); 96 (void) strncpy(ut->ut_host, utx->ut_host, sizeof (ut->ut_host)); 97 ut->ut_time = utx->ut_tv.tv_sec; 98 utx++;
|
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | write.c | 89 struct utmpx *utx; local 91 utx = (struct utmpx *) nbuf; 95 (void) strcpy(utx->ut_user, ut->ut_name); 96 (void) memset(utx->ut_id, 0, sizeof (utx->ut_id)); 97 (void) strcpy(utx->ut_line, ut->ut_line); 98 utx->ut_pid = 0; 99 if ((strcmp(utx->ut_user, "") == 0) && 100 (strcmp(utx->ut_host, "") == 0)) 101 utx [all...] |
H A D | read.c | 83 struct utmpx *utx; local 85 utx = (struct utmpx *)nbuf; 88 while ((char *)utx < (nbuf + len)) { 89 (void) strncpy(ut->ut_line, utx->ut_line, sizeof (ut->ut_line)); 90 (void) strncpy(ut->ut_name, utx->ut_user, sizeof (ut->ut_name)); 91 (void) strncpy(ut->ut_host, utx->ut_host, sizeof (ut->ut_host)); 92 ut->ut_time = utx->ut_tv.tv_sec; 93 utx++;
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | ttyslot.c | 55 struct utmpx utx; local 74 while (_read(fd, &utx, sizeof (struct utmpx)) > 0) { 76 if (strncmp(utx.ut_line, p, sizeof (utx.ut_line)) == 0) {
|
/illumos-gate/usr/src/head/ |
H A D | utmpx.h | 125 #define nonuserx(utx) ((utx).ut_exit.e_exit == NONROOT_USRX ? 1 : 0) 126 #define setuserx(utx) ((utx).ut_exit.e_exit = NONROOT_USRX)
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getutx.c | 867 updwtmpx(const char *filex, struct utmpx *utx) argument 877 utmpx_api2frec(utx, &futx); 1361 getutmpx(const struct utmp *ut, struct utmpx *utx) argument 1363 (void) memcpy(utx->ut_user, ut->ut_user, sizeof (ut->ut_user)); 1364 (void) bzero(&utx->ut_user[sizeof (ut->ut_user)], 1365 sizeof (utx->ut_user) - sizeof (ut->ut_user)); 1366 (void) memcpy(utx->ut_line, ut->ut_line, sizeof (ut->ut_line)); 1367 (void) bzero(&utx->ut_line[sizeof (ut->ut_line)], 1368 sizeof (utx->ut_line) - sizeof (ut->ut_line)); 1369 (void) memcpy(utx 1385 getutmp(const struct utmpx *utx, struct utmp *ut) argument [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devperm.c | 397 struct utmpx *utx; local 405 while ((utx = getutxent()) != NULL) { 406 if (utx->ut_type == USER_PROCESS && 407 strncmp(utx->ut_user, ppwd->pw_name, 408 strlen(ppwd->pw_name)) == 0 && (strncmp(utx->ut_line, 409 "console", strlen("console")) == 0 || strncmp(utx->ut_line,
|
/illumos-gate/usr/src/lib/libc/port/ |
H A D | llib-lc | 575 void getutmp(const struct utmpx *utx, struct utmp *ut); 576 void getutmpx(const struct utmp *ut, struct utmpx *utx); 587 void updwtmpx(const char *filex, struct utmpx *utx);
|
Completed in 70 milliseconds