Home | History | Annotate | Download | only in openbsd-compat

Lines Matching defs:fd

36  * Supports pfd.fd = -1 meaning "unused" although it's not standard.
43 int saved_errno, ret, fd, maxfd = 0;
49 fd = fds[i].fd;
50 if (fd >= FD_SETSIZE) {
54 maxfd = MAX(maxfd, fd);
68 fd = fds[i].fd;
69 if (fd == -1)
72 FD_SET(fd, readfds);
73 FD_SET(fd, exceptfds);
76 FD_SET(fd, writefds);
77 FD_SET(fd, exceptfds);
93 fd = fds[i].fd;
95 if (fd == -1)
97 if (FD_ISSET(fd, readfds)) {
100 if (FD_ISSET(fd, writefds)) {
103 if (FD_ISSET(fd, exceptfds)) {