<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n7shi</author_name>
  <author_url>https://blog.hatena.ne.jp/n7shi/</author_url>
  <blog_title>七誌の開発日記</blog_title>
  <blog_url>https://7shi.hateblo.jp/</blog_url>
  <categories>
    <anon>MSYS</anon>
  </categories>
  <description>MinGWでUNIXのプログラムをビルドしていると、waitpid()やkill()でよく引っ掛かります。とりあえずコンパイルを通すため、代わりの関数を実装してみました。※ サポートできない引数は無視しています。 #include &lt;windows.h&gt; #include &lt;process.h&gt; int waitpid(pid_t pid, int *stat_loc, int options) { return _cwait(stat_loc, pid, WAIT_CHILD); } int kill(pid_t pid, int sig) { int ret; HANDLE h = Ope…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F7shi.hateblo.jp%2Fentry%2F2012%2F06%2F19%2F213405&quot; title=&quot;MinGWでwaitpid()とkill() - 七誌の開発日記&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>2012-06-19 21:34:05</published>
  <title>MinGWでwaitpid()とkill()</title>
  <type>rich</type>
  <url>https://7shi.hateblo.jp/entry/2012/06/19/213405</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
