Research the content of dos.h, dir.h, direct.h, dirent.h.
UNIX provides opendir, readdir, ....
DOS provides findfirst, findnext.
The function names (headers) can be slightly different
on different compilers because none of this functionality
is standard C.
Alex