Home | History | Annotate | Download | only in src

Lines Matching refs:DIR

86 #					file, dir or symlink; second word is
97 # file, dir or symlink; second word is
182 Usage: $prog [-Pv] [-C cat] [-e e=v] [-p prog] [-s fn] [-T dir] \
194 -T dir Use dir instead of /tmp to hold temporary files
227 ':long-name', 1, # dir/file:lineno:name
401 local($dir) = @_;
405 if (!opendir(DIR, $dir)) {
406 print STDERR "$prog: can't open directory $dir - $!\n";
409 while (defined ($file = readdir(DIR))) {
412 closedir(DIR);
415 $file = "$dir/$file";
497 } elsif ($type eq 'dir') {
722 local($dir) = @_;
726 if (!opendir(DIR, $dir)) {
727 print STDERR "$prog: couldn't open directory $dir - $!\n";
730 while (defined ($file = readdir(DIR))) {
733 closedir(DIR);
735 $file = "$dir/$file";
1007 if ($type !~ /^(file|dir|symlink)$/) {
1045 if ($type !~ /^(file|dir|symlink)$/) {
1286 } elsif ($type eq 'dir') {