QUICK_EXIT(3)
This is the QUICK_EXIT(3) page from the Library Functions Manual, bestie β and itβs all about the βbye, no long goodbyesβ way to leave a program π
β¨ NAME β¨
quick_exit β exits a program quickly, running minimal cleanup πββοΈπ¨
π«Ά LIBRARY π«Ά
Standard C Library (libc, -lc) β iconic, classic, literally in the name π
πΈ SYNOPSIS πΈ
#include <stdlib.h>
_Noreturn void
quick_exit(int status);
π DESCRIPTION π
Okay so quick_exit() exits the program quickly. Like, it calls any cleanup functions registered with at_quick_exit(3), but it does not call any C++ destructors, and it does not run cleanup code registered with atexit(3). Not those. Nope π
Also: the stdio(3) file buffers are not flushed. So donβt expect a cute little buffer flush on the way out π
And hereβs the vibe check: quick_exit() is async-signal safe when the functions registered with at_quick_exit(3) are. Periodt β
π RETURN VALUES π
quick_exit() does not return. Itβs gone. It said what it said ππ
π¦ SEE ALSO π¦
π STANDARDS π
The quick_exit() function conforms to ISO/IEC 9899:2011 (βISO C11β) β certified standards girlie behavior πβ¨
Sign-off: this page is from Debian, dated November 4, 2017, and yes bestie, itβs the QUICK_EXIT(3) manual page π«Άπ
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2011 David Chisnall
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms