Note: this version requires the linux_pipe2 system call and won't work on systems without it PR: ports/174865 (with many changes) Submitted by: Mark Felder <feld@feld.me> Tested by: tabthorpe