/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | read.c | 87 struct compat_utmp *ut; local 91 ut = (struct compat_utmp *)buf; 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; 99 ut [all...] |
H A D | write.c | 100 struct compat_utmp *ut; local 104 ut = (struct compat_utmp *) buf; 106 while ((char *)ut < (buf + len)) { 107 (void) strcpy(utx->ut_user, ut->ut_name); 109 (void) strcpy(utx->ut_line, ut->ut_line); 118 utx->ut_tv.tv_sec = ut->ut_time; 121 utx->ut_syslen = sizeof (ut->ut_name) + 1; 122 (void) strcpy(utx->ut_host, ut->ut_host); 123 ut++;
|
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | read.c | 82 struct compat_utmp *ut; local 86 ut = (struct compat_utmp *)buf; 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; 94 ut [all...] |
H A D | write.c | 88 struct compat_utmp *ut; local 92 ut = (struct compat_utmp *) buf; 94 while ((char *)ut < (buf + len)) { 95 (void) strcpy(utx->ut_user, ut->ut_name); 97 (void) strcpy(utx->ut_line, ut->ut_line); 106 utx->ut_tv.tv_sec = ut->ut_time; 109 utx->ut_syslen = sizeof (ut->ut_name) + 1; 110 (void) strcpy(utx->ut_host, ut->ut_host); 111 ut++;
|
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_collection_zone.c | 80 lcollection_update_zone(lcollection_update_type_t ut, argument
|
H A D | rcapd_collection_project.c | 124 lcollection_update_project(lcollection_update_type_t ut, argument 127 switch (ut) {
|
H A D | rcapd_collection.c | 59 lcollection_update(lcollection_update_type_t ut) argument 61 lcollection_update_zone(ut, lcollection_update_notification_cb); 62 lcollection_update_project(ut, lcollection_update_notification_cb);
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmutmp.c | 129 struct utmpx ut; local
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | auth_time.c | 204 char ut[INET6_ADDRSTRLEN]; local 469 (void) sprintf(ut, "%d.%d.%d.%d.0.37", 476 if (strlen(useua) >= sizeof (ut)) { 480 (void) strcpy(ut, useua); 483 if ((dot = strrchr(ut, '.')) != 0) { 485 if ((dot = strrchr(ut, '.')) != 0) 493 if ((len = strlen(ut))+strlen(port) >= 494 sizeof (ut)) { 498 (void) strcat(ut + len, port); 502 addr = uaddr2taddr(nc, ut); [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getut.c | 424 _compat_updwtmp(const char *file, struct utmp *ut) argument 439 utmp_api2frec(ut, &fut);
|
H A D | getutx.c | 890 updwtmp(const char *file, struct utmp *ut) argument 898 getutmpx(ut, &utmpx); 901 _compat_updwtmp(file, ut); 1148 struct futmpx *ut; /* "current" utmpx being examined */ local 1170 while (ut = getoneutx(&offset)) 1171 if (idcmp(utmp->ut_id, ut->ut_id)) { 1179 if (ut->ut_type == DEAD_PROCESS) 1182 (void) memcpy(saveid, ut->ut_id, 1186 if (ut) { 1192 (void) memcpy((caddr_t)utmp->ut_id, ut 1361 getutmpx(const struct utmp *ut, struct utmpx *utx) argument 1385 getutmp(const struct utmpx *utx, struct utmp *ut) argument [all...] |
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | uname.c | 146 uname(register struct utsname* ut) argument 169 if (gethostname(ut->nodename, sizeof(ut->nodename) - 1)) 172 strncpy(ut->nodename, "local", sizeof(ut->nodename) - 1); 175 if (!(ut->sysname = sys)) 177 if (!*(ut->sysname = SYSNAME)) 178 ut->sysname = ut->nodename; 180 if (!(ut 262 struct utsname ut; local [all...] |
/illumos-gate/usr/src/cmd/psradm/ |
H A D | psradm.c | 49 static struct utmpx ut; /* structure for logging to /etc/wtmpx. */ variable in typeref:struct:utmpx 169 ut.ut_pid = getpid(); 170 ut.ut_type = USER_PROCESS; 171 (void) strncpy(ut.ut_user, "psradm", sizeof (ut.ut_user) - 1); 179 (void) snprintf(ut.ut_line, sizeof (ut.ut_line), PSRADM_MSG, 182 ut.ut_xtime = now; 183 updwtmpx(WTMPX_FILE, &ut);
|
/illumos-gate/usr/src/cmd/rexd/ |
H A D | unix_login.c | 418 struct utmpx ut; local 420 char user[sizeof (ut.ut_user) + 1]; 421 char ttyn[sizeof (ut.ut_line) + 1]; 422 char rhost[sizeof (ut.ut_host) + 1];
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | in.uucpd.c | 370 struct utmpx ut; local 381 (void) memset((char *)&ut, 0, sizeof (ut)); 384 ut.ut_id[0] = 'u'; 385 ut.ut_id[1] = 'u'; 386 ut.ut_id[2] = SC_WILDC; 387 ut.ut_id[3] = SC_WILDC; 388 sprintf(ut.ut_line, "uucp%.4d", pid); 389 ut.ut_pid = getpid(); 390 ut 434 struct utmpx ut; local [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | utmpx.c | 65 struct utmpx ut, *oldu; local 81 (void) memset(&ut, 0, sizeof (ut)); 82 (void) strncpy(ut.ut_user, ".startd", sizeof (ut.ut_user)); 83 ut.ut_pid = pid; 85 ut.ut_id[0] = ut.ut_id[1] = ut.ut_id[2] = ut [all...] |
/illumos-gate/usr/src/cmd/saf/ |
H A D | sac.c | 463 struct utmpx ut; local
|
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | dconf.c | 91 struct utsname ut; local 101 if (uname(&ut) != -1) { 103 (void) strcat(dcp->dc_savdir, ut.nodename);
|
/illumos-gate/usr/src/cmd/w/ |
H A D | w.c | 158 struct utmpx *ut; local 245 if ((ut = malloc(size)) == NULL) { 253 utmpbegin = ut; 257 while ((ut < utmpend) && ((utp = getutxent()) != NULL)) 258 (void) memcpy(ut++, utp, sizeof (*ut)); 265 for (ut = utmpbegin; ut < utmpend; ut++) { 266 if (ut [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | swrand.c | 878 clock_t ut; /* time in microseconds */ local 891 ut = 700000 + (clock_t)(srndpool[0] & 0xFFFFF); 893 TIMEOUT_INTERVAL * drv_usectohz(ut));
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | omitted.c | 967 utimes(const char* path, const struct timeval* ut) argument 974 if ((r = _utimes(path, ut)) && errno == ENOENT && execrate(path, buf, sizeof(buf), 0)) 977 r = _utimes(path = buf, ut); 985 utime(const char* path, const struct utimbuf* ut) argument 992 if ((r = _utime(path, ut)) && errno == ENOENT && execrate(path, buf, sizeof(buf), 0)) 995 r = _utime(path = buf, ut);
|
/illumos-gate/usr/src/cmd/whodo/ |
H A D | whodo.c | 162 struct utmpx *ut; local 240 if ((ut = malloc(size)) == NULL) { 248 utmpbegin = ut; 253 while ((ut < utmpend) && ((utp = getutxent()) != NULL)) 254 (void) memcpy(ut++, utp, sizeof (*ut)); 262 for (ut = utmpbegin; ut < utmpend; ut++) { 263 if (ut [all...] |
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_random.c | 885 clock_t ut; /* time in microseconds */ local 895 ut = 500000 + (clock_t)((((uint32_t)rndpool[findex]) << 12) & 0xFF000); 897 TIMEOUT_INTERVAL * drv_usectohz(ut));
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | wanboot.c | 262 build_request_url(url_t *req_url, enum URLtype ut, const url_t *server_url) argument 307 CGIcontent(ut), netstr, wid) >= URL_MAX_PATHLEN - plen) { 310 "the maximum of %d", CGIcontent(ut), URL_MAX_PATHLEN); 319 if (ut == URLtype_wanbootfs) {
|
/illumos-gate/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 1382 struct utmpx ut; local 1384 bzero(&ut, sizeof (ut)); 1385 (void) strncpy(ut.ut_user, ".zlogin", sizeof (ut.ut_user)); 1386 (void) strncpy(ut.ut_line, slavename, sizeof (ut.ut_line)); 1387 ut.ut_pid = getpid(); 1388 ut.ut_id[0] = 'z'; 1389 ut [all...] |