SIGINT (POSIX)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
SIGINT
Description Terminal interrupt signal
Default action Abnormal termination of the process
SA_SIGINFO macros

None

On POSIX-compliant platforms, SIGINT is the signal sent to a process by its controlling terminal when a user wishes to interrupt the process. In source code, SIGINT is a symbolic constant defined in the header file signal.h. Symbolic signal names are used because a signal's numeric value can vary across platforms; on the vast majority of systems, it is signal #2

Contents

[edit] Etymology

SIG is a common prefix for signal names. INT is an abbreviated form of interrupt.

[edit] Usage

SIGINT is sent when the user on the process' controlling terminal presses the interrupt the running process key — typically Control-C, but on some systems, the "delete" character or "break" key.

[edit] External links

[edit] See also

Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages