<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>XuHuang</author_name>
  <author_url>https://blog.hatena.ne.jp/XuHuang/</author_url>
  <blog_title>Ｃ初心者がLinuxエンジニアを目指す日記</blog_title>
  <blog_url>https://xuhuang.hatenadiary.org/</blog_url>
  <categories>
    <anon>UNIXプログラミング</anon>
    <anon>プロセス間通信</anon>
  </categories>
  <description>パイプ(pipe)はUNIXの最も古いIPC(プロセス間通信)であり、全てのUNIXシステムで使用できる。パイプには2つの制約がある。 半二重である。データは一方向にしか流れない。 共通の祖先を持つプロセス間でのみ使用できる。普通、パイプを作ったプロセスがforkをcallし、親と子の間でパイプを使用する。 以下の例は、親から子の方向へ流れるパイプを作成し、第一引数の文字列を作成したパイプに送る。 #include #include #include #include #include #include int main(int argc, char *argv[]) { int fd[2];…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxuhuang.hatenadiary.org%2Fentry%2F20080409%2F1207748671&quot; title=&quot; パイプ - Ｃ初心者がLinuxエンジニアを目指す日記&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>2008-04-09 22:44:31</published>
  <title> パイプ</title>
  <type>rich</type>
  <url>https://xuhuang.hatenadiary.org/entry/20080409/1207748671</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
