<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinichiro_h</author_name>
  <author_url>https://blog.hatena.ne.jp/shinichiro_h/</author_url>
  <blog_title>兼雑記</blog_title>
  <blog_url>https://shinh.hatenablog.com/</blog_url>
  <categories>
    <anon>Program</anon>
    <anon>Bin</anon>
  </categories>
  <description>以下の方法でメモリが読み書き可能かどうかを調べられることを知りました。要は loopback な pipe を作ってそのメモリの内容を write してみて書き出せたら readable で、その後同じ内容をそのメモリに read してみて読み出せたら writable 。 #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;sys/types.h&gt; #include &lt;sys/stat.h&gt; #include &lt;fcntl.h&gt; #include &lt;unistd.h&gt; void error_exit() { perror(&quot;pipe&quot;); exi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinh.hatenablog.com%2Fentry%2F20060702%2F1151766084&quot; title=&quot; メモリ保護属性の調べかた - 兼雑記&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>2006-07-02 00:01:24</published>
  <title> メモリ保護属性の調べかた</title>
  <type>rich</type>
  <url>https://shinh.hatenablog.com/entry/20060702/1151766084</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
