liveBook · Manning

Signal.h

signal.h is the standard C header that declares signal-handling functions, types, and constants.

How 2 Manning books explain it

Modern C

signal.h is the C standard header that declares signal-handling functions, constants, and related types.

How it is used
Introduces the standard interface for handling interruptions to normal control flow.
How deep it goes
Explains standard signal numbers, dispositions, handler registration, and portability limits, while noting platform-specific extensions.
Examples
Uses a parser's signal handler and a registration wrapper that checks signal's return value.
What you can do after
Apply the C signal interface to elementary handler registration and interpret standard dispositions.

Read how Modern C explains signal.h →

Modern C, Third Edition

signal.h is the standard C header that declares the signal-handling functions, types, and constants.

How it is used
Uses <signal.h> to define the interface for elementary signal handling in C.
How deep it goes
Explains signal dispositions and interrupted control flow, while noting platform-specific extensions and rules.
Examples
Illustrates a handler that distinguishes SIGTERM and SIGABRT and restores default handling for other signals.
What you can do after
Evaluate signal-handling portability by distinguishing standard signal numbers from platform-specific extensions.

Read how Modern C, Third Edition explains signal.h →

Related concepts

Questions about signal.h

What is signal.h?

signal.h is the standard C header that declares signal-handling functions, types, and constants.

Which Manning books explain signal.h?

Modern C and Modern C, Third Edition.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.