title: What to substitute for glob_t and glob() on port to Windows?
body: <p>I have some code like this snippet:</p>
  
  <pre><code>#include &lt;glob.h&gt;
  
  glob_t globBuf;
  const int result = glob(remoteFileName.c_str(), 0, 0, &amp;globBuf);
  
  if (result == GLOB_NOSPACE) {
    ...
  } else if (result == GLOB_NOMATCH) {
    ...
  } else {
    ...
  }
  </code></pre>
  
  <p>But I'm not finding <code>glob.h</code> on windows.</p>
  
  <p>What would I use on Microsoft Windows to provide equivalent functionality to port this code from Linux?</p>