Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Global sig

boost::process::posix::sig

Synopsis

// In header: <boost/process/posix.hpp>

unspecified sig;

Description

This property lets you modify the handling of SIGCHLD for this call. It will be reset afterwards.

It can be set to default, by the expression sig.dfl(), set to ignore with sig.ign() or assigned a custom handler. A custom handler must have the type sighandler_tand can be assigned with the following syntax:

sig = handler;
sig(handler);
[Warning] Warning

spawn will automatically use sig.ign(), which will override if you pass a custom handler.


PrevUpHomeNext