
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
"Kid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, I'm trying to port a linux program to windows. > I use scandir(), in dirent.h, and wonder if there are any functions > like it in the win32 api or standard c-library? There are similar functions, but nothing exactly the same. > Also, which functions can I use to list all files in > a directory in windows? I've searched but not found this! There are FindFirstFile, FindNextFile and FindClose from the win32 api. Include windows.h. There are _findfirst, _findnext and _findclose from crtdll.dll. Include io.h. Both sets of functions essentially do the same thing. -Mike
| <-- __Chronological__ --> | <-- __Thread__ --> |