Lines Matching refs:fd
49 "poll examines the given file descriptor in the subscript \b.fd\b "
59 "[+?\b.fd\b # file descriptor]"
101 "[+POLLNVAL?The specified fd value does not belong to an "
108 "[+?If the value fd is less than 0, events is ignored and "
246 int fd;
324 np = nv_open_fmt(shp->var_tree, NV_NOFAIL|NV_NOADD, "%s[%s].fd", varname, subname);
326 errormsg(SH_DICT, ERROR_system(1), "missing pollfd %s[%s].fd", varname, subname);
327 fd = (int)nv_getnum(np);
328 if (fd < 0 || fd > OPEN_MAX)
329 errormsg(SH_DICT, ERROR_system(1), "invalid pollfd fd %d", fd);
331 pollfd[i].fd = fd;