windows-nt/Source/XPSP1/NT/base/subsys/posix/programs/bsdlib/seekdir.c

13 lines
154 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
#include <sys/types.h>
#include <dirent.h>
void seekdir(DIR *dirp, long loc)
{
int i;
rewinddir(dirp);
for(i = 0; i < loc; i++)
readdir(dirp);
}