fn destroyPipe(pipe: [2]posix.fd_t) void
fn destroyPipe(pipe: [2]posix.fd_t) void { if (pipe[0] != -1) closeFd(pipe[0]); if (pipe[0] != pipe[1]) closeFd(pipe[1]); }