hal_exit(3hal) HAL hal_exit(3hal)

hal_exit - Shut down HAL

int hal_exit(int comp_id)

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

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

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

Returns a HAL status code.

2006-10-12 LinuxCNC Documentation
QR Code