qb_loop_signal_mod3
Modify the signal job.
Usage
#include <qb/qbloop.h>
int32_t qb_loop_signal_mod(
qb_loop_t *l, /* pointer to the loop instance */
enum qb_loop_priority p, /* the priority */
int32_t sig, /* (SIGHUP or SIGINT) etc .... */
void *data, /* user data passed into the dispatch function */
qb_loop_signal_dispatch_fn dispatch_fn, /* callback function */
qb_loop_signal_handle handle /* (in) a reference to the signal job */
);
Params
l pointer to the loop instance
p the priority
sig (SIGHUP or SIGINT) etc ....
data user data passed into the dispatch function
dispatch_fn callback function
handle (in) a reference to the signal job
Overview
Structures
enum qb_loop_priority {
QB_LOOP_LOW;
QB_LOOP_MED;
QB_LOOP_HIGH;
};
Return value
status (0 == ok, -errno == failure)
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.