Boost C++ Libraries 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 for the latest Boost documentation.
basic_signal_set::add (2 of 2 overloads)

Add a signal to a signal_set.

boost::system::error_code add(
    int signal_number,
    boost::system::error_code & ec);

This function adds the specified signal to the set. It has no effect if the signal is already in the set.



The signal to be added to the set.


Set to indicate what error occurred, if any.