hal_exit3hal
Shut down hal
Usage
int hal_exit(int comp_id)
Arguments
- comp_id
-
A HAL component identifier returned by an earlier call to
hal_init.
Overview
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 non-realtime or init/cleanup code, not from realtime tasks.
Return value
Returns a HAL status code.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.