/illumos-gate/usr/src/cmd/acct/ |
H A D | acctprc2.c | 50 char ut_name[NSZ]; member 84 else return(strcmp(((const struct utab *) node1)->ut_name, in node_compare() 85 ((const struct utab *) node2)->ut_name)); in node_compare() 105 CPYN(ub->ut_name, p->pt_name); in enter() 132 CPYN(tb.ta_name, (*(struct utab **)node)->ut_name); in print_node()
|
H A D | acctcon1.c | 141 sizeof (wb.ut_name), in main() 142 wb.ut_name, in main() 161 wb.ut_name[0] = '\0'; in main() 192 if ((c = wb.ut_name[0]) == '-') in valid() 196 c = wb.ut_name[i]; in valid() 228 sizeof (wb.ut_name), in fixup() 229 wb.ut_name, in fixup() 280 wb.ut_name, in loop() 391 CPYN(tp->tname, wb.ut_name); in update()
|
H A D | fwtmp.c | 81 Ut.ut_name, in main() 114 u->ut_name[i] = *p++; in inp() 116 if (u->ut_name[i] == ' ') in inp() 117 u->ut_name[i] = '\0'; in inp()
|
H A D | acctcon.c | 152 wb.ut_name[0] = '\0'; in main() 178 if ((c = wb.ut_name[0]) == '-') in valid() 182 c = wb.ut_name[i]; in valid() 205 sizeof (wb.ut_name), in fixup() 206 wb.ut_name, in fixup() 256 wb.ut_name, in loop() 364 CPYN(tp->tname, wb.ut_name); in update()
|
H A D | acctprc.c | 54 char ut_name[NSZ]; member 130 CPYN(ub->ut_name, p->pt_name); in enter()
|
H A D | wtmpfix.c | 461 if (invalid(Ut.ut_name) == INVALID) { in scanfile() 465 OUTPUT_NSZ, Ut.ut_name); in scanfile() 466 (void) strncpy(Ut.ut_name, "INVALID", NSZ); in scanfile()
|
H A D | acctdef.h | 82 #define NSZ (sizeof (utdummy.ut_name)) /* sizeof login name */
|
/illumos-gate/usr/src/ucbcmd/users/ |
H A D | users.c | 48 if (utmpx->ut_name[0] == '\0') in main() 60 *namp++ = strndup(utmpx->ut_name, sizeof (utmpx->ut_name)); in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 118 #define NAMLEN (sizeof (uts[0].ut_name) + 1) 265 strncmp(utp->ut_name, name, sizeof (utmp[0].ut_name)) == 0) in mailfor() 277 char name[sizeof (utmp[0].ut_name) + 1]; in notify() 286 dsyslog(LOG_DEBUG, "notify %s on %s\n", utp->ut_name, tty); in notify() 300 strncpy(name, utp->ut_name, sizeof (utp->ut_name)); in notify()
|
H A D | in.rwhod.c | 400 if (utmpx[i].ut_name[0] && in onalrm() 408 bcopy(utmpx[i].ut_name, we->we_utmp.out_name, in onalrm()
|
/illumos-gate/usr/src/lib/librpcsvc/common/ |
H A D | rusersxdr.c | 67 len = (int)sizeof (up->ut_name); 70 if (len != sizeof (up->ut_name)) { 73 if (!xdr_opaque(xdrsp, (char *)up->ut_name, len)) {
|
H A D | rusers_simple.c | 75 (forsize.ut_name)+1); 95 up.uia_arr[i]->ui_utmp.ut_name, 96 sizeof (forsize.ut_name)+1);
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rpc.rusersd.c | 231 sizeof (utent->ut_name), 232 utent->ut_name, 424 strncpy(bss->ut_name, s5->ut_name, sizeof (bss->ut_name)); in usys5to_ru()
|
H A D | rusers.c | 309 utmpidlearrp->uia_arr[i]->ui_utmp.ut_name, in print_info() 340 strdup(utmpidlearrp->uia_arr[i]->ui_utmp.ut_name); in print_info() 538 #define NAMEMAX ((sizeof (up->ut_name) < NMAX) ? NMAX : sizeof (up->ut_name)) in putline_2() 539 #define NAMEMIN ((sizeof (up->ut_name) > NMAX) ? NMAX : sizeof (up->ut_name)) in putline_2() 549 (void) strncpy(buf, up->ut_name, NAMEMAX); in putline_2()
|
/illumos-gate/usr/src/lib/libmail/common/ |
H A D | notifyu.c | 60 if (strncmp(user, utmpx.ut_name, in notify() 61 sizeof (utmpx.ut_name)) == 0) { in notify()
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.h | 210 char ut_name[sizeof (dummy.ut_name)]; member
|
/illumos-gate/usr/src/head/rpcsvc/ |
H A D | rusers.x | 96 % char ut_name[8]; /* user id */
|
/illumos-gate/usr/src/head/ |
H A D | utmp.h | 54 #define ut_name ut_user macro
|
H A D | utmpx.h | 56 #define ut_name ut_user macro
|
/illumos-gate/usr/src/ucbcmd/shutdown/ |
H A D | shutdown.c | 340 if (utmpx->ut_name[0] && in main() 341 strncmp(utmpx->ut_name, IGNOREUSER, in main() 342 sizeof (utmpx->ut_name))) { in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | finger.c | 116 #define NMAX sizeof (((struct utmpx *)0)->ut_name) 283 if (u->ut_name[0] == 0 || in doall() 293 bcopy(u->ut_name, name, NMAX); in doall() 405 if (u->ut_name[0] == 0 || u->ut_type != USER_PROCESS) in donames() 413 u->ut_name, NMAX) != 0) in donames()
|
/illumos-gate/usr/src/cmd/whodo/ |
H A D | whodo.c | 533 if (sel_user && strncmp(ut->ut_name, sel_user, NMAX) != 0) in main() 538 ut->ut_name); in main() 557 LOGIN_WIDTH, (int)NMAX, ut->ut_name, tm->tm_hour, in main()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | in.uucpd.c | 408 SCPYN(utmp.ut_name, ""); 491 SCPYN(utmp.ut_name, pw->pw_name);
|
/illumos-gate/usr/src/cmd/last/ |
H A D | last.c | 305 LOGIN_WIDTH, NMAX, bp->ut_name, in main() 550 if (nameq(*name, bp->ut_name) || in want()
|
/illumos-gate/usr/src/cmd/w/ |
H A D | w.c | 488 strncmp(ut->ut_name, sel_user, NMAX) != 0) in main() 492 PRINTF(("%-*.*s ", LOGIN_WIDTH, NMAX, ut->ut_name)); in main()
|