This documentation is no longer maintained. For documentation of the current version of emc2, please see http://www.linuxcnc.org/docview/html

rtapi_app_exit

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
RETURN CODE
REALTIME CONSIDERATIONS
SEE ALSO

NAME

rtapi_app_exit − User-provided function to shut down a component

SYNTAX

void rtapi_app_exit(void) { ... }

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 :omponent-specific shutdown code.

RETURN CODE

None.

REALTIME CONSIDERATIONS

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

SEE ALSO

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