tmp/tmpg66q83r1/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Header `<csignal>` synopsis <a id="csignal.syn">[[csignal.syn]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
namespace std {
|
| 5 |
+
using sig_atomic_t = see below;
|
| 6 |
+
|
| 7 |
+
// [support.signal], signal handlers
|
| 8 |
+
extern "C" using signal-handler = void(int); // exposition only
|
| 9 |
+
signal-handler* signal(int sig, signal-handler* func);
|
| 10 |
+
|
| 11 |
+
int raise(int sig);
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
#define SIG_DFL see below
|
| 15 |
+
#define SIG_ERR see below
|
| 16 |
+
#define SIG_IGN see below
|
| 17 |
+
#define SIGABRT see below
|
| 18 |
+
#define SIGFPE see below
|
| 19 |
+
#define SIGILL see below
|
| 20 |
+
#define SIGINT see below
|
| 21 |
+
#define SIGSEGV see below
|
| 22 |
+
#define SIGTERM see below
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
The contents of the header `<csignal>` are the same as the C standard
|
| 26 |
+
library header `<signal.h>`.
|
| 27 |
+
|