<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Sep 27, 2011, at 10:35 AM, Matthieu Monrocq wrote:</div><blockquote type="cite"><div class="gmail_quote">2011/9/26 Thomas Gamper <span dir="ltr"><<a href="mailto:icicle@mail.cg.tuwien.ac.at">icicle@mail.cg.tuwien.ac.at</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
For whatever reason Microsoft is prefixing many standard POSIX<br>
functions with an underscore:<br>
<br>
<a href="http://msdn.microsoft.com/en-us/library/ybk95axf%28v=vs.80%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ybk95axf%28v=vs.80%29.aspx</a><br>
<br>
int _sprintf_l(<br>
    char *buffer,<br>
    const char *format,<br>
    locale_t locale [,<br>
       argument] ...<br>
);<br>
<br>
I hope this helps,<br>
TOM<br></blockquote><div><br>Probably because such identifiers (leading underscore) are reserved for the implementation at global scope.</div></div></blockquote><div><br></div><div>No, identifiers are only reserved if they start with two underscores (__foo) or an underscore and a capital letter (_Foo).</div><br><blockquote type="cite"><div class="gmail_quote"><div>The POSIX Standard "pollutes" the global namespace with identifiers that fall within userland therefore, while MSVC does not :)<br></div></div></blockquote></div><br><div>Only in the same sense that the C standard "pollutes" the global namespace with memcpy and malloc.</div><div><br></div><div>Anyway, doesn't really matter;  it's what they do.</div><div><br></div><div>John.</div></body></html>