rtapi_app_exit - User-provided function to shut down a component
#include <rtapi_app.h>
void rtapi_app_exit(void) {...} |
None
The body of rtapi_app_exit, which is provided by the component author, generally consists of a call to rtapi_exit or hal_exit, preceded by other component-specific shutdown code.
This code is called when unloading a component which successfully initialized (i.e., returned zero from its rtapi_app_main). It is not called when the component did not successfully initialize.
None.
Called automatically by the rtapi infrastructure in an initialization (not realtime) context.
rtapi_app_main(3rtapi), rtapi_exit(3rtapi), hal_exit(3hal)