Muxer

Diagram

stream # in_fd out_fd
0 stdin -
1 - stdout
2 - stderr

 

stream # in_fd out_fd
0 - pipe_0_out_wr
1 pipe_1_in_rd -
2 pipe_2_in_rd -