liveBook · Manning

Quick_exit

quick_exit is a C standard-library function that terminates a program after invoking functions registered with at_quick_exit.

How 2 Manning books explain it

Modern C, Third Edition

quick_exit is a C standard-library function that terminates a program after running functions registered for quick termination.

How it is used
Provides an alternative termination path when normal atexit handlers are too time-consuming or termination begins in a signal handler.
How deep it goes
Explains handler registration and contrasts termination paths, then illustrates signal-handler use without detailing quick_exit internals.
Examples
Shows function declarations and contrasts how SIGTERM, SIGABRT, and SIGINT affect control flow.
What you can do after
Operate/configure it by registering an alternative cleanup handler with at_quick_exit and choosing quick_exit deliberately.

Read how Modern C, Third Edition explains quick_exit →

Modern C

quick_exit is the C standard library function that performs expedited program termination while invoking functions registered with at_quick_exit.

How it is used
Provides expedited termination when normal atexit handlers are too time-consuming.
How deep it goes
Defines the alternative handler mechanism and contrasts termination effects, but does not develop implementation internals.
Examples
Shows function-handler registration and declarations for quick_exit, _Exit, and abort.
What you can do after
Apply quick_exit with at_quick_exit when expedited termination is required.

Read how Modern C explains quick_exit →

Related concepts

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.