1SAM_WARN_SIGNAL_SETC(o3r)osync Cluster Engine Programmer's MaSnAuMa_lWARN_SIGNAL_SET(3)
2
3
4

NAME

6       sam_warn_signal_set - Set warn signal
7
8

SYNOPSIS

10       #include <corosync/sam.h>
11
12
13       cs_error_t sam_warn_signal_set (int warn_signal);
14
15

DESCRIPTION

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

RETURN VALUE

24       This call return CS_OK value if  successful,  otherwise  and  error  is
25       returned.
26
27

ERRORS

29       CS_ERR_BAD_HANDLE
30              component was not initialized by calling sam_initialize(3) or it
31              was finalized.
32
33

SEE ALSO

35       sam_initialize(3)
36
37       CS_ERR_TRY_AGAIN Resource temporarily unavailable
38
39       CS_ERR_INVALID_PARAM Invalid argument
40
41       CS_ERR_ACCESS Permission denied
42
43       CS_ERR_LIBRARY The connection failed
44
45       CS_ERR_INTERRUPT System call interrupted by a signal
46
47       CS_ERR_NOT_SUPPORTED The requested protocol/functionality not supported
48
49       CS_ERR_MESSAGE_ERROR Incorrect auth message received
50
51       CS_ERR_NO_MEMORY Not enough memory to complete the requested task
52
53
54
55corosync Man Page                 03/11/2010            SAM_WARN_SIGNAL_SET(3)
Impressum