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

#include <subprocess.h>

Public Member Functions

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

Public Attributes

bool deferred_ = false
int rd_ch_ = -1
int wr_ch_ = -1

Detailed Description

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

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

Definition at line 636 of file subprocess.h.

Constructor & Destructor Documentation

◆ error() [1/4]

subprocess::error::error ( int  fd)

Definition at line 638 of file subprocess.h.

◆ error() [2/4]

subprocess::error::error ( FILE *  fp)

Definition at line 640 of file subprocess.h.

Here is the call graph for this function:

◆ error() [3/4]

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

Definition at line 642 of file subprocess.h.

◆ error() [4/4]

subprocess::error::error ( IOTYPE  typ)

Definition at line 647 of file subprocess.h.

Here is the call graph for this function:

Member Data Documentation

◆ deferred_

bool subprocess::error::deferred_ = false

Definition at line 659 of file subprocess.h.

◆ rd_ch_

int subprocess::error::rd_ch_ = -1

Definition at line 660 of file subprocess.h.

◆ wr_ch_

int subprocess::error::wr_ch_ = -1

Definition at line 661 of file subprocess.h.

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