I have code like this snippet:
#include <glob.h>
glob_t globBuf;
const int result = glob(remoteFileName.c_str(), 0, 0, &globBuf);
if (result == GLOB_NOSPACE) {
...
} else if (result == GLOB_NOMATCH) {
...
} else {
...
}
But I do not find glob.hin the windows.
What will I use in Microsoft Windows to provide equivalent functions for porting this code from Linux?
source
share