Registers a function to be executed on exit.
Syntax
int _crt_atexit(
_PVFV const function
)
Parameters
function
The function to be executed on exit.
Returns
Returns 0 if successful, or a nonzero value if an error occurs.
Remarks
This function modifies the global onexit table.
Requirements
| Routine | Exported by |
|---|---|
_crt_atexit |
<ucrtbase_enclave.dll> |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
