Electronic Circuits - Electronic Tutorials - Electronic Hobby Projects - A Complete Electronic Resource Centre

C Language Programming Library Reference Guide

Products

Sitemap

Online
Calculators

Circuits (A-C)

Circuits (D-O)

Circuits (P-Z)

Tutorials


 
Google
 
Web Hobbyprojects.com

signal.h - Variables and Definitions

 

The sig_atomic_t type is of type int and is used as a variable in a signal handler. The SIG_ macros are used with the signal function to define signal functions.

SIG_DFL Default handler.
SIG_ERR Represents a signal error.
SIG_IGN Signal ignore.
 

The SIG macros are used to represent a signal number in the following conditions:

SIGABRT Abnormal termination (generated by the abort function).
SIGFPE Floating-point error (error caused by division by zero, invalid operation, etc.).
SIGILL Illegal operation (instruction).
SIGINT Interactive attention signal (such as ctrl-C).
SIGSEGV Invalid access to storage (segment violation, memory violation).
SIGTERM Termination request.
 

 

Search
Custom Search

<<<  Back to C Language Library Reference Guide

<<<  Back to Electronics Tutorials