GCC Middle and Back End API Reference
pex Struct Reference

#include <pex.h>

Public Member Functions

 pex (int flags, const char *pname, const char *tempbase)
 ~pex ()
const char * run (int flags, const char *executable, char *const *argv, const char *outname, const char *errname, int *err)
const char * run (int flags, const char *executable, const std::vector< std::string > &args, const char *outname, const char *errname, int *err)
file_wrapper input_file (int flags, const char *in_name)
file_wrapper input_pipe (bool binary=true)
file_wrapper read_output (bool binary=true)

Data Fields

pex_obj * m_obj

Constructor & Destructor Documentation

◆ pex()

pex::pex ( int flags,
const char * pname,
const char * tempbase )
inline

References m_obj.

◆ ~pex()

pex::~pex ( )
inline

References m_obj.

Member Function Documentation

◆ input_file()

file_wrapper pex::input_file ( int flags,
const char * in_name )
inline

◆ input_pipe()

file_wrapper pex::input_pipe ( bool binary = true)
inline

References file_wrapper::borrowed, and m_obj.

◆ read_output()

file_wrapper pex::read_output ( bool binary = true)
inline

◆ run() [1/2]

const char * pex::run ( int flags,
const char * executable,
char *const * argv,
const char * outname,
const char * errname,
int * err )
inline

◆ run() [2/2]

const char * pex::run ( int flags,
const char * executable,
const std::vector< std::string > & args,
const char * outname,
const char * errname,
int * err )

References m_obj.

Field Documentation

◆ m_obj

pex_obj* pex::m_obj

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