logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rtapi_app_exit - User-provided function to shut down a component

Arguments

       None

Description

       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.

Name

       rtapi_app_exit - User-provided function to shut down a component

Realtime Considerations

       Called automatically by the rtapi infrastructure in an initialization (not realtime) context.

Return Code

       None.

See Also

rtapi_app_main(3rtapi), rtapi_exit(3rtapi), hal_exit(3hal)

LinuxCNC Documentation                             2008-05-26                             rtapi_app_exit(3rtapi)

Syntax

#include<rtapi_app.h>voidrtapi_app_exit(void){...}

See Also