<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shikaku</author_name>
  <author_url>https://blog.hatena.ne.jp/shikaku/</author_url>
  <blog_title>shikaku's blog</blog_title>
  <blog_url>https://blog.systemjp.net/</blog_url>
  <categories>
    <anon>C</anon>
  </categories>
  <description>fopen()で失敗したときのエラーの種類を知る方法。 #include &lt;stdio.h&gt; #include &lt;errno.h&gt; void main(void) { FILE *fp = fopen( &quot;nofile.zzz&quot;, &quot;r&quot; ); if( fp == NULL ){ printf( &quot;%d\n&quot;, errno ); } else{ fclose( fp ); } }こっちだとエラーの中身を文字列で表示。 #include &lt;stdio.h&gt; #include &lt;errno.h&gt; #include &lt;string.h&gt; int main(void) { FILE *fp = fop…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F20100511%2Fp1&quot; title=&quot;エラー番号の取得 エラー内容の取得 - shikaku&amp;#39;s blog&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>2010-05-11 00:00:00</published>
  <title>エラー番号の取得 エラー内容の取得</title>
  <type>rich</type>
  <url>https://blog.systemjp.net/entry/20100511/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
