title: convert Ruby to C languge, Would anyone care to take a look?
body: <p>I have seen this sample written in Ruby code, how i can simulate it in C language?</p>
  
  <pre><code>  Open3.popen3(command) do |stdin, stdout, stderr|
        @stop_stdin = stdin
        while !stdout.eof do 
          output = stdout.read(1024 * 100)
          list_pipes.each do |out|
            out.print output
          end
        end
      end
  </code></pre>