Home
last modified time | relevance | path

Searched refs:ut_name (Results 1 – 25 of 35) sorted by relevance

12

/illumos-gate/usr/src/cmd/acct/
H A Dacctprc2.c50 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 Dacctcon1.c141 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 Dfwtmp.c81 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 Dacctcon.c152 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 Dacctprc.c54 char ut_name[NSZ]; member
130 CPYN(ub->ut_name, p->pt_name); in enter()
H A Dwtmpfix.c461 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 Dacctdef.h82 #define NSZ (sizeof (utdummy.ut_name)) /* sizeof login name */
/illumos-gate/usr/src/ucbcmd/users/
H A Dusers.c48 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 Din.comsat.c118 #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 Din.rwhod.c400 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 Drusersxdr.c67 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 Drusers_simple.c75 (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 Drpc.rusersd.c231 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 Drusers.c309 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 Dnotifyu.c60 if (strncmp(user, utmpx.ut_name, in notify()
61 sizeof (utmpx.ut_name)) == 0) { in notify()
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.h210 char ut_name[sizeof (dummy.ut_name)]; member
/illumos-gate/usr/src/head/rpcsvc/
H A Drusers.x96 % char ut_name[8]; /* user id */
/illumos-gate/usr/src/head/
H A Dutmp.h54 #define ut_name ut_user macro
H A Dutmpx.h56 #define ut_name ut_user macro
/illumos-gate/usr/src/ucbcmd/shutdown/
H A Dshutdown.c340 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 Dfinger.c116 #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 Dwhodo.c533 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 Din.uucpd.c408 SCPYN(utmp.ut_name, "");
491 SCPYN(utmp.ut_name, pw->pw_name);
/illumos-gate/usr/src/cmd/last/
H A Dlast.c305 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 Dw.c488 strncmp(ut->ut_name, sel_user, NMAX) != 0) in main()
492 PRINTF(("%-*.*s ", LOGIN_WIDTH, NMAX, ut->ut_name)); in main()

12