• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/screen-22/screen/

Lines Matching defs:utmp

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 *utmp));
109 extern struct utmp *getutline(), *pututline();
111 extern struct utmp *ut_add_user(), *ut_delete_user();
143 * SlotToggle - modify the utmp slot of the fore window.
145 * how > 0 do try to set a utmp slot.
146 * how = 0 try to withdraw a utmp slot.
150 * (unable to write utmp, or detached).
162 Msg(0, "Unable to modify utmp-database.\n");
284 struct utmp *ut;
303 * the utmp entry for tty is located and removed.
309 struct utmp u, *uu;
368 * D_utmp_logintty is reinserted into utmp
392 * Construct a utmp entry for window wi.
397 * A saved utmp entry in wi->w_savut serves as a template, usually.
405 struct utmp u;
499 struct utmp u, *uu;
548 static struct utmp *
552 struct utmp u;
562 struct utmp *u;
589 struct utmp *u;
603 struct utmp *u;
639 static struct utmp uent;
666 static struct utmp *
676 static struct utmp *
682 lseek(utmpfd, (off_t)(slot * sizeof(struct utmp)), 0);
691 struct utmp *u;
710 struct utmp *u;
725 struct utmp *u;
832 #ifdef utmp
833 # undef utmp
835 struct utmp u;
845 while (read(fd, (char *)&u, sizeof(struct utmp)) == sizeof(struct utmp))
865 struct utmp *
867 struct utmp *u;
869 struct utmp *u2;