Chapter 10. Signals
In this chapter
10.1 Introduction page 348
10.2 Signal Actions page 348
10.3 Standard C Signals:
signal()andraise()page 34910.4 Signal Handlers in Action page 353
10.5 The System V Release 3 Signal APIs:
sigset()et al. page 36510.6 POSIX Signals page 367
10.7 Signals for Interprocess Communication page 379
10.8 Important Special-Purpose Signals page 382
10.9 Signals Across
fork()andexec()page 39810.10 Summary page 399
Exercises page 401
This chapter covers the ins and outs of signals, an important but complicated part of the GNU/Linux API.
Introduction
A signal is an indication that some event has happened, for example, an attempt to reference a memory address that isn’t part of your program’s address space, or when a user presses ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access