Home
last modified time | relevance | path

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

12

/titanic_50/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()
279 wb.ut_name, in loop()
390 CPYN(tp->tname, wb.ut_name); in update()
H A Dfwtmp.c83 Ut.ut_name, in main()
116 u->ut_name[i] = *p++; in inp()
118 if (u->ut_name[i] == ' ') in inp()
119 u->ut_name[i] = '\0'; in inp()
H A Dacctcon.c154 wb.ut_name[0] = '\0'; in main()
180 if ((c = wb.ut_name[0]) == '-') in valid()
184 c = wb.ut_name[i]; in valid()
207 sizeof (wb.ut_name), in fixup()
208 wb.ut_name, in fixup()
257 wb.ut_name, in loop()
365 CPYN(tp->tname, wb.ut_name); in update()
H A Dacctprc.c55 char ut_name[NSZ]; member
131 CPYN(ub->ut_name, p->pt_name); in enter()
H A Dwtmpfix.c463 if (invalid(Ut.ut_name) == INVALID) { in scanfile()
467 OUTPUT_NSZ, Ut.ut_name); in scanfile()
468 (void) strncpy(Ut.ut_name, "INVALID", NSZ); in scanfile()
H A Dacctdef.h84 #define NSZ (sizeof (utdummy.ut_name)) /* sizeof login name */
/titanic_50/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()
/titanic_50/usr/src/lib/librpcsvc/common/
H A Drusersxdr.c69 len = (int)sizeof (up->ut_name);
72 if (len != sizeof (up->ut_name)) {
75 if (!xdr_opaque(xdrsp, (char *)up->ut_name, len)) {
H A Drusers_simple.c72 (forsize.ut_name)+1);
92 up.uia_arr[i]->ui_utmp.ut_name,
93 sizeof (forsize.ut_name)+1);
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c123 #define NAMLEN (sizeof (uts[0].ut_name) + 1)
273 (!strncmp(utp->ut_name, name, sizeof (utmp[0].ut_name))))
286 char name[sizeof (utmp[0].ut_name) + 1];
295 dsyslog(LOG_DEBUG, "notify %s on %s\n", utp->ut_name, tty);
309 strncpy(name, utp->ut_name, sizeof (utp->ut_name));
/titanic_50/usr/src/cmd/ssh/sshd/
H A Dloginrec.c649 (void) strncpy(ut->ut_name, li->username, MIN_SIZEOF(ut->ut_name, li->username)); in construct_utmp()
708 (void) strncpy(utx->ut_name, li->username, MIN_SIZEOF(utx->ut_name, li->username)); in construct_utmpx()
806 (strncmp(old_ut.ut_name, ut->ut_name, sizeof(ut->ut_name)) == 0)) { in utmp_write_direct()
1077 if (strncmp(li->username, ut->ut_name, in wtmp_islogin()
1078 MIN_SIZEOF(li->username, ut->ut_name)) == 0) { in wtmp_islogin()
1232 if ( strncmp(li->username, utx->ut_name, in wtmpx_islogin()
1233 MIN_SIZEOF(li->username, utx->ut_name)) == 0 ) { in wtmpx_islogin()
/titanic_50/usr/src/lib/libmail/common/
H A Dnotifyu.c64 if (strncmp(user, utmpx.ut_name, in notify()
65 sizeof (utmpx.ut_name)) == 0) { in notify()
/titanic_50/usr/src/lib/libbc/libc/sys/sys5/
H A Dread.c90 (void) strncpy(ut->ut_name, utx->ut_user, sizeof (ut->ut_name)); in to_utmp()
H A Dwrite.c95 (void) strcpy(utx->ut_user, ut->ut_name); in conv2utmpx()
109 utx->ut_syslen = sizeof (ut->ut_name) + 1; in conv2utmpx()
/titanic_50/usr/src/lib/libbc/libc/sys/4.2/
H A Dread.c95 (void) strncpy(ut->ut_name, utx->ut_user, sizeof (ut->ut_name)); in to_utmp()
H A Dwrite.c107 (void) strcpy(utx->ut_user, ut->ut_name); in conv2utmpx()
121 utx->ut_syslen = sizeof (ut->ut_name) + 1; in conv2utmpx()
/titanic_50/usr/src/cmd/rpcsvc/
H A Drpc.rusersd.c233 sizeof (utent->ut_name),
234 utent->ut_name,
426 strncpy(bss->ut_name, s5->ut_name, sizeof (bss->ut_name)); in usys5to_ru()
H A Drusers.c312 utmpidlearrp->uia_arr[i]->ui_utmp.ut_name, in print_info()
343 strdup(utmpidlearrp->uia_arr[i]->ui_utmp.ut_name); in print_info()
541 #define NAMEMAX ((sizeof (up->ut_name) < NMAX) ? NMAX : sizeof (up->ut_name)) in putline_2()
542 #define NAMEMIN ((sizeof (up->ut_name) > NMAX) ? NMAX : sizeof (up->ut_name)) in putline_2()
552 (void) strncpy(buf, up->ut_name, NAMEMAX); in putline_2()
/titanic_50/usr/src/lib/libbc/inc/include/
H A Dutmp.h39 char ut_name[8]; /* user id */ member
/titanic_50/usr/src/lib/libbc/libc/sys/common/
H A Dcompat.h53 char ut_name[8]; /* user id */ member
/titanic_50/usr/src/cmd/syslogd/
H A Dsyslogd.h219 char ut_name[sizeof (dummy.ut_name)]; member
/titanic_50/usr/src/head/rpcsvc/
H A Drusers.x97 % char ut_name[8]; /* user id */
/titanic_50/usr/src/head/
H A Dutmp.h54 #define ut_name ut_user macro
H A Dutmpx.h56 #define ut_name ut_user macro

12