Lines Matching refs:fd
107 int fd;
109 fd = dup(utmp_fd);
110 if (fd == -1) {
114 lseek(fd, 0, SEEK_SET);
115 ufp = fdopen(fd, "r");
117 close(fd);
136 int fd, nusers = 0;
141 fd = dup(utmp_fd);
142 if (fd == -1) {
146 lseek(fd, 0, SEEK_SET);
147 ufp = fdopen(fd, "r");
149 close(fd);
199 int fd, nusers = 0;
205 fd = dup(utmp_fd);
206 if (fd == -1) {
210 lseek(fd, 0, SEEK_SET);
211 ufp = fdopen(fd, "r");
213 close(fd);
263 int fd, nusers = 0;
269 fd = dup(utmp_fd);
270 if (fd == -1) {
274 lseek(fd, 0, SEEK_SET);
275 ufp = fdopen(fd, "r");
277 close(fd);