Searched refs:ut_name (Results 1 - 23 of 23) sorted by relevance

/macosx-10.10.1/Libc-1044.1.2/include/
H A Dutmp.h94 char ut_name[UT_NAMESIZE]; member in struct:utmp
/macosx-10.10.1/uucp-11/uucp/contrib/
H A Dtstout.c98 if (!ut.ut_name[0] ||
101 bzero(ut.ut_name, sizeof(ut.ut_name));
150 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
/macosx-10.10.1/zsh-61/zsh/Src/
H A Dwatch.c91 * In utmpx, the ut_name field is replaced by ut_user.
92 * Howver, on some systems ut_name may already be defined this
95 # ifndef ut_name
96 # define ut_name ut_user macro
115 # define ut_name ut_user macro
207 truth = (u->ut_name[0] != 0);
273 printf("%.*s", (int)sizeof(u->ut_name), u->ut_name);
387 if (!*u->ut_name)
395 strncmp(u->ut_name, get_usernam
[all...]
/macosx-10.10.1/shell_cmds-179/who/
H A Dutmpentry.c240 if (fname == NULL && (*ut->ut_name == '\0' ||
291 COMPILE_ASSERT(sizeof(e->name) > sizeof(up->ut_name));
303 (void)strncpy(e->name, up->ut_name, sizeof(up->ut_name));
322 COMPILE_ASSERT(sizeof(e->name) > sizeof(up->ut_name));
334 (void)strncpy(e->name, up->ut_name, sizeof(up->ut_name));
/macosx-10.10.1/Heimdal-398.1.2/appl/login/
H A Dutmp_login.c93 strncpy(utmp->ut_name, username, sizeof(utmp->ut_name));
/macosx-10.10.1/Librpcsvc-24/
H A Drnusers.x60 % char ut_name[8]; /* user id */
116 % ptr = objp->ut_name;
/macosx-10.10.1/remote_cmds-47/wall.tproj/
H A Dwall.c130 char username[sizeof(utmp.ut_name) + 1];
183 if (!utmp.ut_name[0])
193 strlcpy(username, utmp.ut_name, sizeof(utmp.ut_name));
/macosx-10.10.1/tcsh-65/tcsh/
H A Dtc.who.c67 # define ut_name ut_user macro
86 # define UTNAMLEN sizeof(((struct utmp *) 0)->ut_name)
99 # define UTNAMLEN sizeof(__ut.ut_name)
305 if (utmp.ut_name[0] == '\0' && utmp.ut_line[0] == '\0')
325 if (utmp.ut_name[0] == '\0') {
329 else if (strncmp(utmp.ut_name, wp->who_name, UTNAMLEN) == 0) {
335 (void) strncpy(wp->who_new, utmp.ut_name, UTNAMLEN);
374 if (utmp.ut_name[0] == '\0')
377 (void) strncpy(wpnew->who_new, utmp.ut_name, UTNAMLEN);
/macosx-10.10.1/Heimdal-398.1.2/appl/ftp/ftpd/
H A Dlogwtmp.c133 strncpy(ut.ut_name, name, sizeof(ut.ut_name));
/macosx-10.10.1/Libc-1044.1.2/gen/
H A Dutmpx-darwin.h80 char ut_name[UT_NAMESIZE]; member in struct:utmp32
H A Dutmpx-darwin.c1037 (void)memcpy(u->ut_name, ux->ut_user, sizeof(u->ut_name));
1069 bzero(u->ut_name, sizeof(u->ut_name));
1070 strcpy(u->ut_name, (ux->ut_type == BOOT_TIME ? "reboot" : "shutdown"));
1076 bzero(u->ut_name, sizeof(u->ut_name));
1077 strcpy(u->ut_name, "date");
1082 bzero(u->ut_name, sizeof(u->ut_name));
[all...]
/macosx-10.10.1/Libc-1044.1.2/include/NetBSD/
H A Dutmpx.h114 #define ut_user ut_name
/macosx-10.10.1/Libc-1044.1.2/gen/NetBSD/
H A Dutmpx.c565 (void)memcpy(u->ut_name, ux->ut_user, sizeof(u->ut_name));
576 (void)memcpy(ux->ut_user, u->ut_name, sizeof(u->ut_name));
577 ux->ut_user[sizeof(u->ut_name)] = 0;
/macosx-10.10.1/screen-22/screen/
H A Dutmp.c568 return ut_add_user(u.ut_name, slot, u.ut_pid, host) != 0;
641 #define SLOT_USED(u) (u.ut_name[0] != 0)
713 bzero(u->ut_name, sizeof(u->ut_name));
730 strncpy(u->ut_name, user, sizeof(u->ut_name));
/macosx-10.10.1/tcl-105/tcl_ext/expect/expect/
H A Dpty_unicos.c407 strncpy(utmp.ut_name,"",sizeof(utmp.ut_name));
/macosx-10.10.1/Heimdal-398.1.2/appl/telnet/telnetd/
H A Dsys_term.c1467 strncpy(wtmp.ut_name, "", sizeof(wtmp.ut_name));
1508 u->ut_name[0]==0)
1511 strncpy(u->ut_name, "", sizeof(u->ut_name));
1526 strncpy(wtmp.ut_name, "", sizeof(wtmp.ut_name));
/macosx-10.10.1/OpenSSH-189/openssh/
H A Dloginrec.c690 strncpy(ut->ut_name, li->username,
691 MIN_SIZEOF(ut->ut_name, li->username));
884 * and ut_line and ut_name match, preserve the old ut_line.
889 (strncmp(old_ut.ut_name, ut->ut_name, sizeof(ut->ut_name)) == 0))
1163 if (strncmp(li->username, ut->ut_name,
1164 MIN_SIZEOF(li->username, ut->ut_name)) == 0) {
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/
H A Dbsd-cray.c703 strncpy(ut->ut_name, utmp.ut_name, sizeof(utmp.ut_name));
/macosx-10.10.1/remote_cmds-47/rwhod.tproj/
H A Drwhod.c464 if (utmp[i].ut_name[0]) {
467 memcpy(we->we_utmp.out_name, utmp[i].ut_name,
468 sizeof(utmp[i].ut_name));
/macosx-10.10.1/shell_cmds-179/w/
H A Dw.c304 if (utmp.ut_name[0] == '\0')
321 if (!strncmp(utmp.ut_name, *user, UT_NAMESIZE))
574 UT_NAMESIZE, UT_NAMESIZE, ep->utmp.ut_name,
/macosx-10.10.1/remote_cmds-47/talkd.tproj/
H A Dprocess.c251 if (SCMPN(ubuf.ut_name, name) == 0) {
/macosx-10.10.1/tcsh-65/tcsh/win32/
H A Dntport.h505 #define ut_name ut_user macro
/macosx-10.10.1/lsof-53/lsof/
H A Dlsof.h274 #define LOGINML sizeof(dummy_utmp.ut_name)

Completed in 170 milliseconds