/macosx-10.10.1/Heimdal-398.1.2/appl/login/ |
H A D | utmp_login.c | 80 /* update utmp and wtmp - the BSD way */ 85 prepare_utmp (struct utmp *utmp, char *tty, argument 90 memset(utmp, 0, sizeof(*utmp)); 91 utmp->ut_time = time(NULL); 92 strncpy(utmp->ut_line, ttyx, sizeof(utmp->ut_line)); 93 strncpy(utmp->ut_name, username, sizeof(utmp 135 struct utmp utmp; local [all...] |
H A D | login-protos.h | 49 struct utmp */*utmp*/,
|
H A D | utmpx_login.c | 23 /* utmpx_login - update utmp and wtmp after login */ 55 struct utmp utmp; local 58 prepare_utmp (&utmp, line, user, host); 60 write(fd, &utmp, sizeof(struct utmp)); 78 * getutxline(). Return nonzero if no utmp entry was found with our own
|
/macosx-10.10.1/bind9-45.101/bind9/contrib/nslint-2.1a3/lbl/ |
H A D | os-irix5.h | 31 struct utmp; 33 void login(struct utmp *);
|
H A D | os-solaris2.h | 36 struct utmp; 37 void login(struct utmp *);
|
/macosx-10.10.1/Libc-1044.1.2/util/ |
H A D | login.c | 57 #include <utmp.h> 62 login(struct utmp *ut)
|
H A D | logout.c | 60 #include <utmp.h> 75 struct utmp u;
|
H A D | logwtmp.c | 63 #include <utmp.h> 76 struct utmp u;
|
/macosx-10.10.1/tcl-105/tcl_ext/expect/expect/ |
H A D | pty_unicos.c | 50 #include <utmp.h> 317 struct utmp utmp; local 323 (void) time(&utmp.ut_time); 324 utmp.ut_type = USER_PROCESS; 325 utmp.ut_pid = getpid(); 326 strncpy(utmp.ut_user,myname,sizeof(utmp.ut_user)); 327 strncpy(utmp.ut_host,hostname,sizeof(utmp 392 struct utmp utmp; local [all...] |
/macosx-10.10.1/OpenSSH-189/osslshim/ossl-asn1/ |
H A D | cs-x_long.c | 140 unsigned long utmp; local 153 if(ltmp < 0) utmp = -ltmp - 1; 154 else utmp = ltmp; 155 clen = BN_num_bits_word(utmp); 166 cont[i] = (unsigned char)(utmp & 0xff); 168 utmp >>= 8; 179 unsigned long utmp = 0; local 188 utmp = 0; 190 utmp <<= 8; 191 if(neg) utmp | [all...] |
/macosx-10.10.1/OpenSSL098-52/src/crypto/asn1/ |
H A D | x_long.c | 106 unsigned long utmp; local 119 if(ltmp < 0) utmp = -ltmp - 1; 120 else utmp = ltmp; 121 clen = BN_num_bits_word(utmp); 132 cont[i] = (unsigned char)(utmp & 0xff); 134 utmp >>= 8; 145 unsigned long utmp = 0; local 154 utmp = 0; 156 utmp <<= 8; 157 if(neg) utmp | [all...] |
/macosx-10.10.1/uucp-11/uucp/contrib/ |
H A D | tstout.c | 25 #include <utmp.h> 81 #define UTMPFILE "/etc/utmp" 90 struct utmp ut; 97 while (fread((char *)&ut, sizeof(struct utmp), 1, fp) == 1) { 104 (void)fseek(fp, (long)-sizeof(struct utmp), L_INCR); 105 (void)fwrite((char *)&ut, sizeof(struct utmp), 1, fp); 140 struct utmp ut; 153 if (write(fd, (char *)&ut, sizeof(struct utmp)) != 154 sizeof(struct utmp))
|
/macosx-10.10.1/Libc-1044.1.2/include/ |
H A D | utmp.h | 60 * @(#)utmp.h 8.2 (Berkeley) 1/21/94 69 * in 64-bit computing, may corrupt the utmp, wtmp and lastlog files. 78 #define _PATH_UTMP "/var/run/utmp" 92 struct utmp { struct
|
H A D | util.h | 89 struct utmp; /* forward reference to /usr/include/utmp.h */ 90 void login(struct utmp *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA); 111 /* Include utmp.h last to avoid deprecation warning above */ 112 #include <utmp.h>
|
/macosx-10.10.1/tcsh-65/tcsh/ |
H A D | tc.who.c | 60 # define utmp utmpx macro 76 # include <utmp.h> 81 # include <utmp.h> 86 # define UTNAMLEN sizeof(((struct utmp *) 0)->ut_name) 87 # define UTLINLEN sizeof(((struct utmp *) 0)->ut_line) 92 # define UTHOSTLEN sizeof(((struct utmp *) 0)->ut_host) 97 struct utmp __ut; 116 # define TCSH_PATH_UTMP "/etc/utmp" 176 * Watch /etc/utmp for login/logout changes. 184 struct utmp *upt 188 struct utmp utmp; local [all...] |
/macosx-10.10.1/remote_cmds-47/wall.tproj/ |
H A D | wall.c | 73 #include <utmp.h> 113 struct utmp utmp; local 129 char line[sizeof(utmp.ut_line) + 1]; 130 char username[sizeof(utmp.ut_name) + 1]; 182 while (fread((char *)&utmp, sizeof(utmp), 1, fp) == 1) { 183 if (!utmp.ut_name[0]) 185 if (ttystat(utmp.ut_line, UT_LINESIZE) != 0) 193 strlcpy(username, utmp [all...] |
/macosx-10.10.1/groff-38/groff/src/utils/afmtodit/ |
H A D | afmtodit.pl | 6251 my $utmp = $AGL_to_unicode{$field[0]}; 6252 if (defined $utmp && $utmp =~ /^[0-9A-F]{4}$/) { 6253 foreach my $unicodepsname ("uni" . $utmp, "u" . $utmp) { 6290 my $utmp = ""; # temporary value 6328 $utmp = $AGL_to_unicode{$component}; 6329 if ($utmp) { 6330 $utmp = "U+" . $utmp; [all...] |
/macosx-10.10.1/screen-22/screen/ |
H A D | utmp.c | 48 * 1) Always close and reopen the utmp file descriptor. (I don't know 50 * 2) Implement an unsorted utmp file much like GETUTENT. 69 * we have a suid-root helper app that changes the utmp for us 82 static void makeuser __P((struct utmp *, char *, char *, int)); 83 static void makedead __P((struct utmp *)); 84 static int pututslot __P((slot_t, struct utmp *, char *, struct win *)); 85 static struct utmp *getutslot __P((slot_t)); 87 static struct utmp *getutent __P((void)); 93 static struct utmp *xpututline __P((struct utmp *utm 833 # undef utmp macro [all...] |
/macosx-10.10.1/shell_cmds-179/w/ |
H A D | w.c | 92 /* use utmp values so formatting is the same */ 96 #include <utmp.h> 106 struct utmp utmp; variable in typeref:struct:utmp 128 * One of these per active utmp entry. 133 struct utmpx utmp; member in struct:entry 135 struct utmp utmp; member in struct:entry 303 for (nusers = 0; fread(&utmp, sizeof(utmp), [all...] |
/macosx-10.10.1/Libc-1044.1.2/gen/ |
H A D | utmpx-darwin.h | 119 int _utmp_compat(const struct utmpx *, struct utmp *); 120 void _write_lastlog(const struct utmp *, const struct utmpx *); 121 void _write_utmp(const struct utmp *, int); 127 void _write_wtmp(const struct utmp *);
|
/macosx-10.10.1/Libc-1044.1.2/include/NetBSD/ |
H A D | utmpx.h | 148 struct utmp; /* forward reference */ 149 void getutmp(const struct utmpx *, struct utmp *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_9, __IPHONE_2_0, __IPHONE_7_0); 150 void getutmpx(const struct utmp *, struct utmpx *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_9, __IPHONE_2_0, __IPHONE_7_0);
|
/macosx-10.10.1/shell_cmds-179/who/ |
H A D | utmpentry.h | 38 # include <utmp.h> 68 * alternate utmp(x) file to look in. 72 * utmp hasn't changed in the meantime.
|
/macosx-10.10.1/Heimdal-398.1.2/appl/telnet/telnetd/ |
H A D | sys_term.c | 43 #include <utmp.h> 53 struct utmp wtmp; 66 #define UTMP_FILE "/etc/utmp" 739 extern struct utmp wtmp; 848 * Wait for our parent to get the utmp stuff to get done. 1144 * Cray parent will create utmp entry for child and send 1154 * Create utmp entry for child 1169 write(i, &wtmp, sizeof(struct utmp)); 1294 * Create utmp entry for child 1411 * remove the utmp entr 1489 struct utmp *u, *utmp; local 1547 struct utmp utmp; local [all...] |
/macosx-10.10.1/dtrace-147/libdwarf/ |
H A D | dwarf_abbrev.c | 56 Dwarf_Unsigned utmp; local 99 DECODE_LEB128_UWORD(abbrev_ptr, utmp); 100 ret_abbrev->ab_code = (Dwarf_Word) utmp; 110 DECODE_LEB128_UWORD(abbrev_ptr, utmp); 111 ret_abbrev->ab_tag = utmp;
|
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/ |
H A D | bsd-cray.c | 43 #include <utmp.h> 103 void cray_retain_utmp(struct utmp *, int); 106 void cray_set_tmpdir(struct utmp *); 688 * Retain utmp/wtmp information - used by cray accounting. 691 cray_retain_utmp(struct utmp *ut, int pid) 694 struct utmp utmp; local 698 while (read(fd, (char *)&utmp, sizeof(utmp)) == sizeof(utmp)) { [all...] |