boost::process::posix_status Class Reference

#include <posix_status.hpp>

Inheritance diagram for boost::process::posix_status:

boost::process::status

List of all members.

Public Member Functions

 posix_status (const status &s)
bool signaled () const
int term_signal () const
bool dumped_core () const
bool stopped () const
int stop_signal () const


Detailed Description

Status returned by a finalized child process on a POSIX system.

This class represents the status returned by a child process after it has terminated. It contains some methods not available in the status class that provide information only available in POSIX systems.


Constructor & Destructor Documentation

boost::process::posix_status::posix_status ( const status s  )  [inline]

Creates a posix_status object from an existing status object.

Creates a new status object representing the exit status of a child process. The construction is done based on an existing status object which already contains all the available information: this class only provides controlled access to it.


Member Function Documentation

bool boost::process::posix_status::signaled (  )  const [inline]

Returns whether the process exited due to an external signal.

int boost::process::posix_status::term_signal (  )  const [inline]

If signaled, returns the terminating signal code.

If the process was signaled, returns the terminating signal code.

Precondition:
signaled() is true.

bool boost::process::posix_status::dumped_core (  )  const [inline]

If signaled, returns whether the process dumped core.

If the process was signaled, returns whether the process produced a core dump.

Precondition:
signaled() is true.

bool boost::process::posix_status::stopped (  )  const [inline]

Returns whether the process was stopped by an external signal.

int boost::process::posix_status::stop_signal (  )  const [inline]

If stopped, returns the stop signal code.

If the process was stopped, returns the stop signal code.

Precondition:
stopped() is true.


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

Generated on Mon Sep 22 01:00:43 2008 by  doxygen 1.5.5