openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libgpg-error/1.36-r0/libgpg-error-1.36/src/spawn-posix.c
gpg_err_code_t _gpgrt_make_pipe(int filedes[2], estream_t* r_fp, int direction,
                                int nonblock)
{
    if (r_fp && direction)
        return do_create_pipe_and_estream(filedes, r_fp, (direction > 0),
                                          nonblock);
    else
        return do_create_pipe(filedes);
}
/* Create a pipe.  The DIRECTION parameter gives the type of the created pipe:
 *   DIRECTION < 0 := Inbound pipe: On Windows the write end is inheritable.
 *   DIRECTION > 0 := Outbound pipe: On Windows the read end is inheritable.
 * If R_FP is NULL a standard pipe and no stream is created, DIRECTION
 * should then be 0.  */
Create a pipe.  The DIRECTION parameter gives the type of the created pipe:
DIRECTION < 0 := Inbound pipe: On Windows the write end is inheritable.
DIRECTION > 0 := Outbound pipe: On Windows the read end is inheritable.
If R_FP is NULL a standard pipe and no stream is created, DIRECTION
should then be 0.
Create a pipe . The DIRECTION parameter gives the type of the created pipe : DIRECTION < 0 : = Inbound pipe : On Windows the write end is inheritable . DIRECTION > 0 : = Outbound pipe : On Windows the read end is inheritable . If R_FP is NULL a standard pipe and no stream is created DIRECTION should then be 0 .
gpg_err_code_t _gpgrt_make_pipe(int filedes[2], estream_t* r_fp, int direction,
                                int nonblock)
{
    if (r_fp && direction)
        return do_create_pipe_and_estream(filedes, r_fp, (direction > 0),
                                          nonblock);
    else
        return do_create_pipe(filedes);
}
gpg_err_code_t _gpgrt_make_pipe ( int filedes [ 2 ] , estream_t * r_fp , int direction , int nonblock ) { if ( r_fp && direction ) return do_create_pipe_and_estream ( filedes , r_fp , ( direction > 0 ) , nonblock ) ; else return do_create_pipe ( filedes ) ; }
Create a pipe.
Create a pipe .