Chapter 15. Signals

The execution of a program normally proceeds synchronously, with each step following the previous one. Sometimes actions must be executed immediately by interrupting this flow of execution. This may be a request to terminate the program or to process some new action. UNIX provides for this capability with signals.

In this chapter you will learn how to

  • Create and manage signal sets

  • Catch signals

  • Suspend signals

  • Raise signals

Get Advanced UNIX Programming 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.