1SAM_WARN_SIGNAL_SETC(o3r)osync Cluster Engine Programmer's MaSnAuMa_lWARN_SIGNAL_SET(3)
2
3
4
6 sam_warn_signal_set - Set warn signal
7
8
10 #include <corosync/sam.h>
11
12
13 cs_error_t sam_warn_signal_set (int warn_signal);
14
15
17 The sam_warn_signal_set function is used to configure warning signal
18 sent before real killing of unresponsive application. Default value is
19 SIGTERM. SIGKILL can be used to emulate "not warning signal send" be‐
20 haviour.
21
22
24 This call return CS_OK value if successful, otherwise and error is
25 returned.
26
27
29 CS_ERR_BAD_HANDLE
30 component was not initialized by calling sam_initialize(3) or it
31 was finalized.
32
33
35 sam_initialize(3)
36
37
38
39corosync Man Page 03/11/2010 SAM_WARN_SIGNAL_SET(3)