<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mhiramat</author_name>
  <author_url>https://blog.hatena.ne.jp/mhiramat/</author_url>
  <blog_title>mhiramatの日記</blog_title>
  <blog_url>https://mhiramat.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>読み出したら zero fillならぬ0 fillをするデバイスを作る。とはいっても、デバイスファイルの登録とか面倒だし、SystemTapでちょっと小細工をする。 出来たのが以下。 global fillstr; global candidate; global readpos; %{ #include &lt;linux/string.h&gt; %} function basename:string (path:string) %{ const char *p, *s = (void *)(unsigned long)THIS-&gt;path; p = strrchr(s, '/'); if (!p) …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmhiramat.hatenadiary.org%2Fentry%2F20110119%2F1295443952&quot; title=&quot;/dev/zeroに対抗して/dev/0を作る - mhiramatの日記&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>2011-01-19 22:32:32</published>
  <title>/dev/zeroに対抗して/dev/0を作る</title>
  <type>rich</type>
  <url>https://mhiramat.hatenadiary.org/entry/20110119/1295443952</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
