hal_exit(3hal)

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.

  1. 12
  2. 13

From linuxcnc-uspace-dev 1:2.9.4-2+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.