<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hirose31</author_name>
  <author_url>https://blog.hatena.ne.jp/hirose31/</author_url>
  <blog_title>（ひ）メモ</blog_title>
  <blog_url>https://hirose31.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>PerlでEvent::Libのコードスケッチ（名前付きパイプを3つ監視してだれかがデータ入れたら読み出す）したんだけどどうも意図したように動かんなーと思ってたら、 /* Linux pipes are broken, we need O_RDWR instead of O_RDONLY */ #ifdef __linux socket = open (fifo, O_RDWR | O_NONBLOCK, 0); #else socket = open (fifo, O_RDONLY | O_NONBLOCK, 0); #endif http://www.monkey.org/~provos/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhirose31.hatenablog.jp%2Fentry%2F20070726%2F1185424884&quot; title=&quot; Linux pipes are broken, we need O_RDWR instead of O_RDONLY - （ひ）メモ&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>2007-07-26 13:41:24</published>
  <title> Linux pipes are broken, we need O_RDWR instead of O_RDONLY</title>
  <type>rich</type>
  <url>https://hirose31.hatenablog.jp/entry/20070726/1185424884</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
