ec_strvec_get_attrs - Man Page

Get the attributes of a vector element.

Synopsis

#include <ecoli/strvec.h>

const struct ec_dict * ec_strvec_get_attrs(
    const struct ec_strvec   *strvec,  /* The pointer to the string vector. */
    size_t                    idx      /* The index of the string to get. */
);

Return Value

The read-only attributes (dictionary) of the string at specified index, or NULL if there is no attribute.

See Also

ec_strvec_set_attrs(3), ec_strvec_del_last(3), ec_strvec_val(3), ec_strvec_cmp(3), ec_strvec_sort(3), ec_strvec_from_array(3), ec_strvec_dup(3), ec_strvec_set(3), ec_strvec_len(3), ec_strvec_dump(3), ec_strvec_sh_lex_str(3), ec_strvec_add(3), ec_strvec_free(3), ec_strvec(3), ec_strvec_ndup(3)

Referenced By

ec_strvec(3), ec_strvec_add(3), ec_strvec_cmp(3), ec_strvec_del_last(3), ec_strvec_dump(3), ec_strvec_dup(3), ec_strvec_free(3), ec_strvec_from_array(3), ec_strvec_len(3), ec_strvec_ndup(3), ec_strvec_set(3), ec_strvec_set_attrs(3), ec_strvec_sh_lex_str(3), ec_strvec_sort(3), ec_strvec_val(3).

2026-06-11 Libecoli Programmer's Manual