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_param_alias - create an alternate name for a param

Arguments

original_name
              The original name of the param

       alias  The alternate name that may be used to refer to the param, or NULL to remove any alternate name.

Description

       A  param  may have two names: the original name (the one that was passed to a hal_param_new function) and
       an alias.

       Usually, aliases are for the convenience of users  and  should  be  created  and  destroyed  via  halcmd.
       However, in some cases it is sensible to create aliases directly in a component.  These cases include the
       case where a param is renamed, to preserve compatibility with old versions.

Name

       hal_param_alias - create an alternate name for a param

Return Value

       Returns a HAL status code.

See Also

hal_pin_alias(3)

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

Syntax


       int hal_param_alias(const char *original_name, const char *alias);

See Also