<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>YuichiTanaka</author_name>
  <author_url>https://blog.hatena.ne.jp/YuichiTanaka/</author_url>
  <blog_title>YuichiTanakaの日記</blog_title>
  <blog_url>https://yuichitanaka.hatenadiary.org/</blog_url>
  <categories>
    <anon>学習</anon>
  </categories>
  <description>第２章 2.1 echo.c コマンドラインプログラムの場合、引数の処理にはgetopt関数を用いる。 Javaならgnu.getoptパッケージ。 strcmpなどの文字列関数を呼び出すときに、実際の文字データのポインタの代わりにNULL値を渡すとプログラムがクラッシュする。よって、&amp;&amp;演算子によってstrcmpにNULL値が渡されるのを防止する。 strcmpは文字列が等しい時に値０(C言語における偽)を返す。そこで、STREQというマクロを定義することがよくある。 #define STREQ(a, b) (*(a) == *(b) &amp;&amp; stcmp((a), (b)) == 0) 初めの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuichitanaka.hatenadiary.org%2Fentry%2F20050311%2Fp3&quot; title=&quot;Code Reading - YuichiTanakaの日記&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>2005-03-11 00:00:01</published>
  <title>Code Reading</title>
  <type>rich</type>
  <url>https://yuichitanaka.hatenadiary.org/entry/20050311/p3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
