Updated documentation
parent
a0bb490056
commit
75a379593d
8
ossig.h
8
ossig.h
|
|
@ -46,6 +46,10 @@ extern "C" {
|
|||
//! using sigaction flags set to 0. The default handler only returns from the call.
|
||||
//! \details Upon destruction the previous signal handler is restored if the former signal handler
|
||||
//! was replaced.
|
||||
//! \details On Cygwin systems using Newlib, you need to ensure you define <tt>_XOPEN_SOURCE=700</tt>,
|
||||
//! <tt>_GNU_SOURCE</tt>; or use <tt>-std=gnu++03</tt>, <tt>-std=gnu++11</tt>, or similar. If
|
||||
//! you compile with <tt>-std=c++03</tt>, <tt>-std=c++11</tt> or similar, then define
|
||||
//! <tt>_XOPEN_SOURCE=700</tt>.
|
||||
//! \warning Do not use SignalHandler in a code block that uses <tt>setjmp</tt> or <tt>longjmp</tt>
|
||||
//! because the destructor may not run.
|
||||
//! \since Crypto++ 5.6.5
|
||||
|
|
@ -63,6 +67,10 @@ struct SignalHandler
|
|||
//! using sigaction flags set to 0. The default handler only returns from the call.
|
||||
//! \details Upon destruction the previous signal handler is restored if the former signal handler
|
||||
//! was overwritten.
|
||||
//! \details On Cygwin systems using Newlib, you need to ensure you define <tt>_XOPEN_SOURCE=700</tt>,
|
||||
//! <tt>_GNU_SOURCE</tt>; or use <tt>-std=gnu++03</tt>, <tt>-std=gnu++11</tt>, or similar. If
|
||||
//! you compile with <tt>-std=c++03</tt>, <tt>-std=c++11</tt> or similar, then define
|
||||
//! <tt>_XOPEN_SOURCE=700</tt>.
|
||||
//! \warning Do not use SignalHandler in a code block that uses <tt>setjmp</tt> or <tt>longjmp</tt>
|
||||
//! because the destructor may not run. <tt>setjmp</tt> is why cpu.cpp does not use SignalHandler
|
||||
//! during CPU feature testing.
|
||||
|
|
|
|||
Loading…
Reference in New Issue