Searched refs:utmp (Results 1 - 25 of 66) sorted by relevance

123

/macosx-10.9.5/Heimdal-323.92.1/appl/login/
H A Dutmp_login.c80 /* 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 Dlogin-protos.h49 struct utmp */*utmp*/,
H A Dutmpx_login.c23 /* 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.9.5/bind9-45.100/bind9/contrib/nslint-2.1a3/lbl/
H A Dos-irix5.h31 struct utmp;
33 void login(struct utmp *);
H A Dos-solaris2.h36 struct utmp;
37 void login(struct utmp *);
/macosx-10.9.5/Libc-997.90.3/util/
H A Dlogin.c57 #include <utmp.h>
62 login(struct utmp *ut)
H A Dlogout.c60 #include <utmp.h>
75 struct utmp u;
H A Dlogwtmp.c63 #include <utmp.h>
76 struct utmp u;
/macosx-10.9.5/tcl-102/tcl_ext/expect/expect/
H A Dpty_unicos.c50 #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.9.5/OpenSSH-186/osslshim/ossl-asn1/
H A Dcs-x_long.c140 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.9.5/uucp-11/uucp/contrib/
H A Dtstout.c25 #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.9.5/Libc-997.90.3/include/
H A Dutmp.h60 * @(#)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 Dutil.h89 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.9.5/tcsh-65/tcsh/
H A Dtc.who.c60 # 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.9.5/remote_cmds-41.90.1/wall.tproj/
H A Dwall.c71 #include <utmp.h>
111 struct utmp utmp; local
127 char line[sizeof(utmp.ut_line) + 1];
128 char username[sizeof(utmp.ut_name) + 1];
180 while (fread((char *)&utmp, sizeof(utmp), 1, fp) == 1) {
181 if (!utmp.ut_name[0])
183 if (ttystat(utmp.ut_line, UT_LINESIZE) != 0)
191 strlcpy(username, utmp
[all...]
/macosx-10.9.5/groff-38/groff/src/utils/afmtodit/
H A Dafmtodit.pl6251 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.9.5/screen-22/screen/
H A Dutmp.c48 * 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.9.5/shell_cmds-175/w/
H A Dw.c92 /* 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.9.5/Libc-997.90.3/gen/
H A Dutmpx-darwin.h119 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.9.5/Libc-997.90.3/include/NetBSD/
H A Dutmpx.h148 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.9.5/shell_cmds-175/who/
H A Dutmpentry.h38 # include <utmp.h>
68 * alternate utmp(x) file to look in.
72 * utmp hasn't changed in the meantime.
/macosx-10.9.5/Heimdal-323.92.1/appl/telnet/telnetd/
H A Dsys_term.c43 #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.9.5/dtrace-118.1/libdwarf/
H A Ddwarf_abbrev.c56 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.9.5/OpenSSH-186/openssh/openbsd-compat/
H A Dbsd-cray.c43 #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...]
/macosx-10.9.5/text_cmds-87/ed/
H A Dundo.c75 undo_t utmp; \
76 utmp = x, x = y, y = utmp; \

Completed in 310 milliseconds

123