hal_exit

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
REALTIME CONSIDERATIONS
RETURN VALUE

NAME

hal_exit - Shut down HAL

SYNTAX

int hal_exit(int comp_id)

ARGUMENTS

comp_id

A HAL component identifier returned by an earlier call to hal_init.

DESCRIPTION

hal_exit shuts down and cleans up HAL and RTAPI. It must be called prior to exit by any module that called hal_init.

REALTIME CONSIDERATIONS

Call only from within user or init/cleanup code, not from realtime tasks.

RETURN VALUE

Returns a HAL status code.