There are times when it's appropriate to do so. Say you have a well behaved directory with hundreds of thousands of files in it and you need just one type... You might get a slight speed advantage with readdir/stat...
Other than things like that, there's rarely a need to use readdir by hand.
-Paul
In reply to Re^2: File Indexing program
by jettero
in thread File Indexing program
by chetanspecial
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |