<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>FrogPad</author_name>
  <author_url>https://blog.hatena.ne.jp/FrogPad/</author_url>
  <blog_title>FrogPadの日記</blog_title>
  <blog_url>https://frogpad.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>プログラムを解読していると、トレース用のファイルへ吐き出す関数が欲しくなるということで、作成。/usr/include/mylib.h #include &lt;iostream&gt; #include &lt;fstream&gt; #include &lt;string&gt; void mylog(const std::string&amp; msg);./mylib.c #include &lt;mylib.h&gt; void mylog(const std::string&amp; msg) { std::ofstream out_file(&quot;/tmp/mylog.log&quot;,std::iso::out|std::ios::app); if (…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffrogpad.hatenadiary.org%2Fentry%2F20091201&quot; title=&quot;C++ でごく簡単なShared Object形式のライブラリを書く - FrogPadの日記&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>2009-12-01 00:00:00</published>
  <title>C++ でごく簡単なShared Object形式のライブラリを書く</title>
  <type>rich</type>
  <url>https://frogpad.hatenadiary.org/entry/20091201</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
