master
md 22 lines 656 Bytes
Rendered Raw
1 # WslcSignal
2
3 ```c
4 typedef enum WslcSignal
5 {
6 WSLC_SIGNAL_NONE = 0, // No signal; reserved for future use
7 WSLC_SIGNAL_SIGHUP = 1, // SIGHUP: reload / hangup
8 WSLC_SIGNAL_SIGINT = 2, // SIGINT: interrupt (Ctrl-C)
9 WSLC_SIGNAL_SIGQUIT = 3, // SIGQUIT: quit with core dump
10 WSLC_SIGNAL_SIGKILL = 9, // SIGKILL: immediate termination
11 WSLC_SIGNAL_SIGTERM = 15, // SIGTERM: graceful shutdown
12 } WslcSignal;
13 ```
14
15 | Enumerator | Value |
16 |---|---|
17 | `WSLC_SIGNAL_NONE` | `0` |
18 | `WSLC_SIGNAL_SIGHUP` | `1` |
19 | `WSLC_SIGNAL_SIGINT` | `2` |
20 | `WSLC_SIGNAL_SIGQUIT` | `3` |
21 | `WSLC_SIGNAL_SIGKILL` | `9` |
22 | `WSLC_SIGNAL_SIGTERM` | `15` |