title: Using GlibC, what is the analog of _snscanf() from Windows?
body: <p>I have started going through the samples of the cURL, in C. While compiling <code>ftpuploadresume.c</code> I am getting undefined reference error at:</p>
  
  <pre><code>/* _snscanf() is Win32 specific */
  r = _snscanf(ptr, size * nmemb, "Content-Length: %ld\n", &amp;len);
  </code></pre>
  
  <p>I just want to know what is the alternative to <code>_snscanf</code> for glibc.</p>