원문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

/usr/include/sys/signal.h  파일에서 정의됨.

 

 

/*
 * valid signal values: all undefined values are reserved for future use
 * note: POSIX requires a value of 0 to be used as the null signal in kill()
 */
#define SIGHUP     1    /* hangup, generated when terminal disconnects */
#define SIGINT     2    /* interrupt, generated from terminal special char */
#define SIGQUIT    3    /* (*) quit, generated from terminal special char */
#define SIGILL     4    /* (*) illegal instruction (not reset when caught)*/
#define SIGTRAP    5    /* (*) trace trap (not reset when caught) */
#define SIGABRT    6    /* (*) abort process */
#define SIGEMT     7    /* EMT intruction */
#define SIGFPE     8    /* (*) floating point exception */
#define SIGKILL    9    /* kill (cannot be caught or ignored) */
#define SIGBUS    10    /* (*) bus error (specification exception) */
#define SIGSEGV   11    /* (*) segmentation violation */
#define SIGSYS    12    /* (*) bad argument to system call */
#define SIGPIPE   13    /* write on a pipe with no one to read it */
#define SIGALRM   14    /* alarm clock timeout */
#define SIGTERM   15    /* software termination signal */
#define SIGURG    16    /* (+) urgent contition on I/O channel */
#define SIGSTOP   17    /* (@) stop (cannot be caught or ignored) */
#define SIGTSTP   18    /* (@) interactive stop */
#define SIGCONT   19    /* (!) continue (cannot be caught or ignored) */
#define SIGCHLD   20    /* (+) sent to parent on child stop or exit */
#define SIGTTIN   21    /* (@) background read attempted from control terminal*/
#define SIGTTOU   22    /* (@) background write attempted to control terminal */
#define SIGIO     23    /* (+) I/O possible, or completed */
#define SIGXCPU   24    /* cpu time limit exceeded (see setrlimit()) */
#define SIGXFSZ   25    /* file size limit exceeded (see setrlimit()) */
#define SIGMSG    27    /* input data is in the ring buffer */
#define SIGWINCH  28    /* (+) window size changed */
#define SIGPWR    29    /* (+) power-fail restart */
#define SIGUSR1   30    /* user defined signal 1 */
#define SIGUSR2   31    /* user defined signal 2 */
#define SIGPROF   32    /* profiling time alarm (see setitimer) */
#define SIGDANGER 33    /* system crash imminent; free up some page space */
#define SIGVTALRM 34    /* virtual time alarm (see setitimer) */
#define SIGMIGRATE 35   /* migrate process */
#define SIGPRE    36    /* programming exception */
#define SIGVIRT   37    /* AIX virtual time alarm */
#define SIGALRM1  38    /* m:n condition variables - RESERVED - DON'T USE */
#define SIGTALRM  38    /* per-thread alarm clock */
#define SIGWAITING 39   /* m:n scheduling - RESERVED - DON'T USE */
#define SIGSYSERROR 48  /* kernel error */
#define SIGRECOVERY 49  /* kernel recovery occurring */


/*
 * Signals 50 to 57 are assigned to POSIX real-time signals.
 * See SIGRTMIN and SIGRTMAX below.
 */
#define SIGRECONFIG 58  /* Reserved for Dynamic Reconfiguration Operations */
#define SIGCPUFAIL 59   /* Predictive De-configuration of Processors - */
                        /*      RESERVED - DON'T USE */
#define SIGKAP    60    /* keep alive poll from native keyboard */
#define SIGGRANT  SIGKAP /* monitor mode granted */
#define SIGRETRACT 61   /* monitor mode should be relinguished */
#define SIGSOUND  62    /* sound control has completed */
#define SIGSAK    63    /* secure attention key */

 

 

 

(*.118.235.209)