liveBook · Manning

Signal number

A signal number is an integer identifier representing a particular signal in the C signal interface.

How 2 Manning books explain it

Modern C

A signal number is an integer identifier representing a particular kind of C signal.

How it is used
Identifies the signal passed to a handler so the handler can select its response.
How deep it goes
Defines the six standard names and illustrates handler dispatch, while leaving platform-specific signals to their providers.
Examples
Shows a handler switching on `SIGTERM` and `SIGABRT` and passing other numbers to `signal()`.
What you can do after
Operate/configure it by selecting standard signal names in a handler and recognizing when an additional name depends on a platform.

Read how Modern C explains signal number →

Modern C, Third Edition

A signal number is an integer identifier representing a particular signal in the C signal interface.

How it is used
Identifies the signal delivered to a handler so the handler can choose an action.
How deep it goes
Defines the identifier and explains its handler argument and disposition, without giving numeric values or specifying platform additions.
Examples
Uses a handler that distinguishes SIGTERM from SIGABRT and a platform listing that includes other signal names.
What you can do after
Evaluate/understand which signal a handler receives and whether a signal identifier relies on a platform definition.

Read how Modern C, Third Edition explains signal number →

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.