Bitcoin Core  27.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
subprocess::input Struct Reference

#include <subprocess.h>

Public Member Functions

 input (int fd)
 
 input (FILE *fp)
 
 input (const char *filename)
 
 input (IOTYPE typ)
 

Public Attributes

int rd_ch_ = -1
 
int wr_ch_ = -1
 

Detailed Description

Option to specify the input channel for the child process. It can be:

  1. An already open file descriptor.
  2. A file name.
  3. IOTYPE. Usual a PIPE

Eg: input{PIPE} OR in case of redirection, output of another Popen input{popen.output()}

Definition at line 576 of file subprocess.h.

Constructor & Destructor Documentation

◆ input() [1/4]

subprocess::input::input ( int  fd)
inlineexplicit

Definition at line 579 of file subprocess.h.

◆ input() [2/4]

subprocess::input::input ( FILE *  fp)
inlineexplicit

Definition at line 582 of file subprocess.h.

Here is the call graph for this function:

◆ input() [3/4]

subprocess::input::input ( const char *  filename)
inlineexplicit

Definition at line 584 of file subprocess.h.

◆ input() [4/4]

subprocess::input::input ( IOTYPE  typ)
inlineexplicit

Definition at line 589 of file subprocess.h.

Here is the call graph for this function:

Member Data Documentation

◆ rd_ch_

int subprocess::input::rd_ch_ = -1

Definition at line 596 of file subprocess.h.

◆ wr_ch_

int subprocess::input::wr_ch_ = -1

Definition at line 597 of file subprocess.h.


The documentation for this struct was generated from the following file: