process-cpp 3.0.0
A simple convenience library for handling processes in C++11.
core::posix::this_process Namespace Reference

Namespaces

namespace  env
 

Functions

CORE_POSIX_DLL_PUBLIC Process instance () noexcept(true)
 Returns a Process instance corresponding to this process. More...
 
CORE_POSIX_DLL_PUBLIC Process parent () noexcept(true)
 Query the parent of the process. More...
 
CORE_POSIX_DLL_PUBLIC std::istream & cin () noexcept(true)
 Access this process's stdin. More...
 
CORE_POSIX_DLL_PUBLIC std::ostream & cout () noexcept(true)
 Access this process's stdout. More...
 
CORE_POSIX_DLL_PUBLIC std::ostream & cerr () noexcept(true)
 Access this process's stderr. More...
 

Function Documentation

◆ cerr()

std::ostream & core::posix::this_process::cerr ( )
noexcept

Access this process's stderr.

Definition at line 171 of file this_process.cpp.

References cerr().

Referenced by cerr(), and TEST().

+ Here is the call graph for this function:

◆ cin()

std::istream & core::posix::this_process::cin ( )
noexcept

Access this process's stdin.

Definition at line 161 of file this_process.cpp.

References cin().

Referenced by cin(), and TEST().

+ Here is the call graph for this function:

◆ cout()

std::ostream & core::posix::this_process::cout ( )
noexcept

Access this process's stdout.

Definition at line 166 of file this_process.cpp.

References cout().

Referenced by cout(), TEST(), and TEST_F().

+ Here is the call graph for this function:

◆ instance()

Process core::posix::this_process::instance ( )
noexcept

Returns a Process instance corresponding to this process.

Definition at line 150 of file this_process.cpp.

Referenced by TEST().

◆ parent()

Process core::posix::this_process::parent ( )
noexcept

Query the parent of the process.

Returns
The parent of the process.

Definition at line 156 of file this_process.cpp.

Referenced by TEST().