title: Why does strcmp() return 0 when its inputs are equal?
body: <p>When I make a call to the C string compare function like this:</p>
  <pre><code>strcmp(&quot;time&quot;,&quot;time&quot;)
  </code></pre>
  <p>It returns 0, which implies that the strings are not equal.</p>
  <p>Can anyone tell me why C implementations seem to do this? I would think it would return a non-zero value if equal. I am curious to the reasons I am seeing this behavior.</p>