Lines Matching defs:utmpx
69 #include <utmpx.h>
78 struct utmpx *utmpx = NULL;
84 void notify __P((struct utmpx *, off_t));
169 static u_int utmpxsize; /* last malloced size for utmpx */
170 static time_t utmpxmtime; /* last modification time for utmpx */
180 utmpxsize = statbf.st_size + 10 * sizeof(struct utmpx);
181 if ((utmpx = realloc(utmpx, utmpxsize)) == NULL) {
187 (void)lseek(uf, (off_t)sizeof(struct utmpx), SEEK_SET);
188 nutmpx = read(uf, utmpx, statbf.st_size - sizeof(struct utmpx))/sizeof(struct utmpx);
196 struct utmpx *utp = &utmpx[nutmpx];
204 while (--utp >= utmpx)
213 struct utmpx *utp;