Lines Matching defs:pdirfp
273 static DIR *pdirfp;
280 if (pdirfp) {
281 (void) closedir(pdirfp);
282 pdirfp = NULL;
359 static DIR *pdirfp;
368 if (pdirfp) {
369 (void) closedir(pdirfp);
370 pdirfp = NULL;
383 if (!pdirfp && ((pdirfp = opendir(pkgdir)) == NULL)) {
388 while ((dp = readdir64(pdirfp)) != NULL) {
418 (void) closedir(pdirfp);
419 pdirfp = NULL;
428 static DIR *pdirfp;
435 if (pdirfp) {
436 (void) closedir(pdirfp);
437 pdirfp = NULL;
442 if (!pdirfp && ((pdirfp = opendir(get_PKGOLD())) == NULL))
445 while ((dp = readdir64(pdirfp)) != NULL) {
464 (void) closedir(pdirfp);
465 pdirfp = NULL;