Lines Matching defs:fds
101 { struct pollfd* fds;
109 if(!(fds = (struct pollfd*)malloc(m*sizeof(struct pollfd))) )
115 fds[m].fd = f->file;
116 fds[m].events = fds[m].revents = 0;
119 fds[m].events |= POLLOUT;
125 fds[m].fd = f->proc->file;
126 fds[m].revents = 0;
129 fds[m].events |= POLLIN;
133 while((np = SFPOLL(fds,m,tm)) < 0 )
145 { if(fds[m].revents&POLLOUT)
152 if(fds[m].revents&POLLIN)
157 free((Void_t*)fds);