Searched refs:mfd (Results 1 - 3 of 3) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.sbin/moused/
H A Dmoused.c350 int mfd; /* mouse file descriptor */ member in struct:rodentparam
370 .mfd = -1,
785 if ((rodent.mfd = open(rodent.portname, O_RDWR | O_NONBLOCK, 0))
790 close(rodent.mfd);
791 rodent.mfd = -1;
815 if (rodent.mfd == -1) {
830 if (rodent.mfd != -1)
831 close(rodent.mfd);
834 rodent.mfd = rodent.cfd = -1;
905 set[0].fd = rodent.mfd;
[all...]
/netbsd-6-1-5-RELEASE/dist/ipf/l4check/
H A Dl4check.c291 int fd, opt, res, mfd, i; local
297 mfd = 0;
364 if (l4->l4_fd > mfd)
365 mfd = l4->l4_fd;
381 if (l4->l4_fd > mfd)
382 mfd = l4->l4_fd;
386 fprintf(stderr, "Select: max fd %d wait %d\n", mfd + 1,
388 i = select(mfd + 1, &rfd, &wfd, NULL, &tv);
/netbsd-6-1-5-RELEASE/sbin/restore/
H A Ddirs.c147 int i, dfd, mfd; local
173 if ((mfd = mkstemp(modefile)) == -1)
176 mf = fdopen(mfd, "w");

Completed in 124 milliseconds