The information on this page refers to versions prior to 4.6, which removed the LMX_AtExit function. |
The LMX_AtExit function registers functions that are to be called at program termination.
...
Code Block |
---|
LMX_STATUS LMX_AtExit ( AtExit_pfn Func ); |
Parameters
Func
[in] Function to be called at cleanup.
...
LMX_AtExit is used to register cleanup functions that access LMX the LM-X API.
Note: Cstdlib's atexit(), WinApi's_onexit(), and static object destructors are not supported—using them and will result in undefined behavior.
...