Lines Matching defs:fd
50 int fd = WR_PIPE; \
51 if (write(fd, &evt, sizeof(evt)) != sizeof(evt)) \
225 ** fd -- file descriptor
233 nonblocking(int fd, const char *name)
238 r = fcntl(fd, F_GETFL, 0);
246 r = fcntl(fd, F_SETFL, r | O_NONBLOCK);
348 #define WAIT_FD(i) (pfd[i].fd)
439 pfd[nfd].fd = RD_PIPE;
489 pfd[nfd].fd = ctx->ctx_sd;
558 ("PIPE DONE READ i=[%d] fd=[%d] r=[%d] evt=[%d]",
580 ("Checking context sd=%d - fd=%d ",
583 if (ctx->ctx_sd == pfd[i].fd)
587 ("TASK: found %d for fd[%d]=%d",
606 ("TASK %s FOUND - Checking PIPE for fd[%d]",