myMPD
Internal API documentation
Loading...
Searching...
No Matches
signal.h File Reference

Search implementation. More...

#include <signal.h>
#include <stdbool.h>
Include dependency graph for signal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool set_signal_handler (int sig_num)
 

Variables

sig_atomic_t s_signal_received
 Signal received indicator.
 

Detailed Description

Search implementation.

Function Documentation

◆ set_signal_handler()

bool set_signal_handler ( int  sig_num)

Sets the mympd_signal_handler for the given signal

Parameters
sig_numsignal to handle
Returns
true on success, else false