<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moriyoshi</author_name>
  <author_url>https://blog.hatena.ne.jp/moriyoshi/</author_url>
  <blog_title>moriyoshiの日記</blog_title>
  <blog_url>https://moriyoshi.hatenablog.com/</blog_url>
  <categories>
    <anon>C</anon>
    <anon>string.h</anon>
  </categories>
  <description>リンク元をみたら「!strcmp」というクエリでここにたどり着いた方がいました。残念ながらその方の期待には応えられなかったのですが、「!strcmp」については一言言っておこうかなと。strcmp() は 3 つの状態を表す結果を返すので、プレディケイトではないのに、真偽値に対して使うことが想定されている論理否定演算子を使うのは意味的にどうなのよ。と。CodeSearch したら約337,000件あった。似たような問題で void *ptr = ...; if (ptr) { /* (1) */ do_some(); } if (ptr != 0) { /* (2) */ do_some();…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoriyoshi.hatenablog.com%2Fentry%2F20070426%2F1177571056&quot; title=&quot;「!strcmp」 - moriyoshiの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-04-26 16:04:16</published>
  <title>「!strcmp」</title>
  <type>rich</type>
  <url>https://moriyoshi.hatenablog.com/entry/20070426/1177571056</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
