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

#include <subprocess.h>

Public Member Functions

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

Public Attributes

int rd_ch_ = -1
int wr_ch_ = -1

Detailed Description

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

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

Eg: output{PIPE} OR output{"output.txt"}

Definition at line 605 of file subprocess.h.

Constructor & Destructor Documentation

◆ output() [1/4]

subprocess::output::output ( int  fd)

Definition at line 607 of file subprocess.h.

◆ output() [2/4]

subprocess::output::output ( FILE *  fp)

Definition at line 609 of file subprocess.h.

Here is the call graph for this function:

◆ output() [3/4]

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

Definition at line 611 of file subprocess.h.

◆ output() [4/4]

subprocess::output::output ( IOTYPE  typ)

Definition at line 616 of file subprocess.h.

Here is the call graph for this function:

Member Data Documentation

◆ rd_ch_

int subprocess::output::rd_ch_ = -1

Definition at line 623 of file subprocess.h.

◆ wr_ch_

int subprocess::output::wr_ch_ = -1

Definition at line 624 of file subprocess.h.

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