With 105 files in one directory, my first though would be to reorganize the directory structure. My second thought would be "what's special about the first five files returned by readdir that you need to look at their names?
I think that explaining why you need to do this would be useful, as it may give some of the very knowledgeable Monks a better way to look at your problem.
In reply to Re: quick way to read a few directory entries of many
by swampyankee
in thread quick way to read a few directory entries of many
by leocharre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |