Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

quick_exit - terminate process quick

&pagelevel(4)&pagelevel

Syntax

#include <stdlib.h>
 C11
_Noreturn void quick_exit (int status); (End)

Description

quick_exit() terminates the calling process.

A call to quick_exit() triggers the following actions:

  1. quick_exit() first calls all functions registered by at_quick_exit(), in the reverse order of their registration. If a function registered by a call to at_quick_exit() fails to return, the remaining registered functions are not called and the execution of quick_exit() is aborted. If quick_exit() is called more than once, the effects are undefined.

  2. Termination of the process by calling _Exit(status).

Notes

Functions registered by atexit() are not called.

See also

atexit()at_quick_exit(), exit(), stdlib.h.