<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hayataka2049</author_name>
  <author_url>https://blog.hatena.ne.jp/hayataka2049/</author_url>
  <blog_title>静かなる名辞</blog_title>
  <blog_url>https://hayataka2049.hatenablog.jp/</blog_url>
  <categories>
    <anon>C言語</anon>
    <anon>雑記</anon>
  </categories>
  <description>はじめに 学校の課題でCでshellもどきを書きました。 今後、同じ目にあう人のために、「shellの多段パイプをどうやって実装したら良いのか」を記事としてまとめておきます。 目次 はじめに パイプの概要 使用する関数 int pipe(int pipefd[2]) int close(int fd) int dup2(int oldfd, int newfd) pid_t fork(void) pid_t wait(int *status) int execvp(const char *file, char *const argv[]) パイプの実装方針 コード 改良した方が良い点 まとめ …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2018%2F11%2F08%2F185349&quot; title=&quot;C言語でshellの多段パイプを実装 - 静かなる名辞&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>https://cdn-ak.f.st-hatena.com/images/fotolife/h/hayataka2049/20181108/20181108184925.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-08 18:53:49</published>
  <title>C言語でshellの多段パイプを実装</title>
  <type>rich</type>
  <url>https://hayataka2049.hatenablog.jp/entry/2018/11/08/185349</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
