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 570 of file subprocess.h.

Constructor & Destructor Documentation

◆ input() [1/4]

subprocess::input::input ( int  fd)

Definition at line 573 of file subprocess.h.

◆ input() [2/4]

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

Definition at line 576 of file subprocess.h.

Here is the call graph for this function:

◆ input() [3/4]

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

Definition at line 578 of file subprocess.h.

◆ input() [4/4]

subprocess::input::input ( IOTYPE  typ)

Definition at line 583 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 590 of file subprocess.h.

◆ wr_ch_

int subprocess::input::wr_ch_ = -1

Definition at line 591 of file subprocess.h.

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