22SIGNALS: ADVANCED FEATURES

This chapter completes the discussion of signals that we began in Chapter 20, covering a number of more advanced topics, including the following:

• core dump files;

• special cases regarding signal delivery, disposition, and handling;

• synchronous and asynchronous generation of signals;

• when and in what order signals are delivered;

• realtime signals;

• the use of sigsuspend() to set the process signal mask and wait for a signal to arrive;

• the use of sigwaitinfo() (and sigtimedwait()) to synchronously wait for a signal to arrive;

• the use of signalfd() to receive a signal via a file descriptor; and

• the older BSD and System V signal APIs.

22.1 Core Dump Files

Certain signals cause a process to create a core ...

Get The Linux Programming Interface now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.