logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

hal_exit - Shut down HAL

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.

Name

       hal_exit - Shut down HAL

Realtime Considerations

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

Return Value

       Returns a HAL status code.

LinuxCNC Documentation                             2006-10-12                                     hal_exit(3hal)

Syntax


       int hal_exit(int comp_id)

See Also