Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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 617 of file subprocess.h.

Constructor & Destructor Documentation

◆ output() [1/4]

subprocess::output::output ( int fd)
inlineexplicit

Definition at line 619 of file subprocess.h.

Here is the caller graph for this function:

◆ output() [2/4]

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

Definition at line 621 of file subprocess.h.

Here is the call graph for this function:

◆ output() [3/4]

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

Definition at line 623 of file subprocess.h.

◆ output() [4/4]

subprocess::output::output ( IOTYPE typ)
inlineexplicit

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

◆ wr_ch_

int subprocess::output::wr_ch_ = -1

Definition at line 636 of file subprocess.h.


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