Lines Matching defs:UTMP
80 typedef struct utmp UTMP;
93 UTMP ubuf;
111 (void)lseek(fd, (off_t)(topslot * sizeof(UTMP)), SEEK_SET);
114 if (read(fd, &ubuf, sizeof(UTMP)) == sizeof(UTMP)) {
116 (void)lseek(fd, -(off_t)sizeof(UTMP), SEEK_CUR);
121 (void)lseek(fd, (off_t)(topslot * sizeof(UTMP)),
127 (void)write(fd, ut, sizeof(UTMP));
133 UTMP ut;
142 while (read(fd, &ut, sizeof(UTMP)) == sizeof(UTMP)) {
149 (void)lseek(fd, -(off_t)sizeof(UTMP), SEEK_CUR);
150 (void)write(fd, &ut, sizeof(UTMP));