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 to view this page for the latest version.
basic_signal_set::add (2 of 4 overloads)

Add a signal to a signal_set.

void 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.