MythTV  master
Classes | Macros | Functions | Variables
signalhandling.cpp File Reference
#include <QObject>
#include <QSocketNotifier>
#include <QCoreApplication>
#include <QList>
#include <csignal>
#include <cstdint>
#include <cstdlib>
#include <iostream>
#include <sys/types.h>
#include <unistd.h>
#include "compat.h"
#include "mythlogging.h"
#include "exitcodes.h"
#include "signalhandling.h"
Include dependency graph for signalhandling.cpp:

Go to the source code of this file.

Classes

struct  SignalInfo
 

Macros

#define SIG_STR_COUNT   256
 

Functions

static void sig_str_init (int sig, const char *name)
 
static void sig_str_init (void)
 

Variables

char * sig_str [SIG_STR_COUNT]
 
uint sig_str_len [SIG_STR_COUNT]
 

Macro Definition Documentation

◆ SIG_STR_COUNT

#define SIG_STR_COUNT   256

Definition at line 30 of file signalhandling.cpp.

Function Documentation

◆ sig_str_init() [1/2]

static void sig_str_init ( int  sig,
const char *  name 
)
static

◆ sig_str_init() [2/2]

static void sig_str_init ( void  )
static

Definition at line 49 of file signalhandling.cpp.

Variable Documentation

◆ sig_str

char* sig_str[SIG_STR_COUNT]

Definition at line 31 of file signalhandling.cpp.

Referenced by sig_str_init(), and SignalHandler::signalHandler().

◆ sig_str_len

uint sig_str_len[SIG_STR_COUNT]

Definition at line 32 of file signalhandling.cpp.

Referenced by sig_str_init(), and SignalHandler::signalHandler().