Query: at_quick_exit
OS: freebsd
Section: 3
Links: freebsd man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
AT_QUICK_EXIT(3) BSD Library Functions Manual AT_QUICK_EXIT(3)NAMEat_quick_exit -- registers a cleanup function to run on quick exitLIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <stdlib.h> int at_quick_exit(void (*func)(void));DESCRIPTIONThe at_quick_exit() function registers a cleanup function to be called when the program exits as a result of calling quick_exit(3). The cleanup functions are called in the reverse order and will not be called if the program exits by calling exit(3), _Exit(3), or abort(3).RETURN VALUESThe at_quick_exit() function returns the value 0 if successful and a non-zero value on failure.SEE ALSOexit(3), quick_exit(3)STANDARDSThe at_quick_exit() function conforms to ISO/IEC 9899:2011 (``ISO C11'').BSDDecember 7, 2011 BSD