Back to index

im-sdk  12.3.91
Functions
IMSignal.cpp File Reference
#include <config.h>
#include <sstream>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include "IMSignal.hh"
#include "IMSvr.hh"
#include "IMLog.hh"

Go to the source code of this file.

Functions

RETSIGTYPE signal_handler (int num)

Function Documentation

RETSIGTYPE signal_handler ( int  num)

Definition at line 115 of file IMSignal.cpp.

{
    IMSignal *pims = IMSignal::get_instance();
    IMSignal_handler ph;

    if (!pims) return;
    ph = pims->getfunc(num);
    if (!ph) return;
    (pims->*ph)();
    return;
}

Here is the call graph for this function: