Library /sys$common/syshlp/helplib.hlb  —  CRTL  decc$feature_get_name
    Returns a feature name.

    Format

      #include  <unixlib.h>

      char *decc$feature_get_name  (int index);

1  –  Argument

 index

    An integer value from 0 to the highest allocated feature.

2  –  Description

    The decc$feature_get_name function returns a pointer to a null-
    terminated string containing the name of the feature for the
    entry specified by index. The index value can be 0 to the highest
    allocated feature. If there is no feature corresponding to the
    index value, then the function returns a NULL pointer.

    On error, NULL is returned and errno is set to indicate the
    error.

    See also decc$feature_get, decc$feature_get_index, decc$feature_
    get_value, decc$feature_set, decc$feature_set_value,
    decc$feature_show, and decc$feature_show_all.

3  –  Return Values

    x                  Pointer to a null-terminated string containing
                       the name of the feature for the entry
                       specified by index.
    NULL               Indicates an error; errno is set.
Close Help