Lines Matching refs:varname
244 char *varname;
282 varname = argv[0];
287 array_np = nv_open(varname, shp->var_tree, NV_NOFAIL|NV_NOADD);
289 errormsg(SH_DICT, ERROR_system(1), "cannot find array variable %s", varname);
291 errormsg(SH_DICT, ERROR_system(1), "variable %s is not an array", varname);
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);
333 np = nv_open_fmt(shp->var_tree, NV_NOFAIL|NV_NOADD, "%s[%s].events", varname, subname);
335 errormsg(SH_DICT, ERROR_system(1), "missing pollfd %s[%s].events", varname, subname);
369 np = nv_open_fmt(shp->var_tree, NV_NOFAIL, "%s[%s].revents", varname, subname);
371 errormsg(SH_DICT, ERROR_system(1), "couldn't create pollfd %s[%s].revents", varname, subname);