Namespaces
Variants

Standard library header <signal.h>

From cppreference.net

이 헤더는 프로그램 지원 라이브러리의 일부입니다.

목차

타입

비동기 시그널 핸들러에서 원자적 개체로 접근 가능한 정수 타입
(typedef)

매크로

시그널 타입을 정의함
(매크로 상수)
시그널 처리 전략을 정의함
(매크로 상수)
오류가 발생했음
(매크로 상수)

함수

특정 시그널에 대한 시그널 핸들러를 설정함
(함수)
특정 시그널에 대한 시그널 핸들러를 실행함
(함수)

시놉시스

typedef sig_atomic_t /* 설명 참조 */;
void (*signal(int sig, void (*func)(int)))(int);
int raise(int sig);
#define SIG_DFL  /* 설명 참조 */
#define SIG_ERR  /* 설명 참조 */
#define SIG_IGN  /* 설명 참조 */
#define SIGABRT  /* 설명 참조 */
#define SIGFPE   /* 설명 참조 */
#define SIGILL   /* 설명 참조 */
#define SIGINT   /* 설명 참조 */
#define SIGSEGV  /* 설명 참조 */
#define SIGTERM  /* 설명 참조 */