Signal.h
signal.h is the standard C header that declares signal-handling functions, types, and constants.
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.
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.
Related concepts
- signal handlerused by · A signal handler is a function or mechanism that specifies or performs a response when a signal or notification is delivered.
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.

