/* Portable function to create a pipe. Under Windows the read end is inheritable. If R_FP is not NULL, an estream is created for the write end and stored at R_FP. */ gpg_error_t gnupg_create_outbound_pipe (int filedes[2], estream_t *r_fp, int nonblock) { if (r_fp) return create_pipe_and_estream (filedes, r_fp, 1, nonblock); else return do_create_pipe (filedes); }
/* Portable function to create a pipe. Under Windows the read end is inheritable. */ gpg_error_t gnupg_create_outbound_pipe (int filedes[2]) { return do_create_pipe (filedes, 0); }
/* Portable function to create a pipe. Under Windows the write end is inheritable. */ gpg_error_t gnupg_create_inbound_pipe (int filedes[2]) { return do_create_pipe (filedes); }