EC_CONFIG_U64(3)

πŸ“¦
version 0.11.7 Β· 5 versions
, in fedora 44

πŸ’– ec_config_u64 β€” from the ec_config_u64(3) page in the Libecoli Programmer's Manual ✨

okay bestie, so this is the little glow-up page for ec_config_u64, and honestly? it's giving tiny-but-mighty. πŸŽ€


🌸 NAME 🌸

ec_config_u64 β€” Create an unsigned configuration value.

like, you hand it a big ol' unsigned number and it makes you a whole configuration object out of it. simple. iconic. no notes. πŸ‘‘


✨ SYNOPSIS ✨

#include <ecoli/config.h>

struct ec_config * ec_config_u64(
    uint64_t  u64   /* The unsigned integer value to be set. */
);

so you pull in <ecoli/config.h> first, obviously, and then it's just one function, one argument:

  • uint64_t u64 β€” the unsigned integer value to be set. that's the number you want wrapped up all pretty in a config object. 🫢

πŸ’… RETURN VALUE πŸ’…

you get the configuration object back β€” slay β€” or NULL on error (and yeah, errno is set, so go check it, don't just stand there 😭).

bestie fr fr: if it hands you NULL, that's your sign to look at errno. don't ignore her.

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, in the order they appear on the original page, because we do not skip a single one:

ec_config_schema_sub(3), ec_config_list_del(3), ec_config_dict(3), ec_config_count(3), ec_config_schema_dump(3), ec_config_i64(3), ec_config_list_next(3), ec_config_get_type(3), ec_config_dict_set(3), ec_config_list_first(3), ec_config_schema_type(3), ec_config_node(3), ec_config_list(3), ec_config_cmp(3), ec_node_config_node_list_to_table(3), ec_config_key_is_reserved(3), ec_config_string(3), ec_config_dict_get(3), ec_config_free(3), ec_node_config_node_list_from_vargs(3), ec_config_list_add(3), ec_config_schema_validate(3), ec_config_schema_lookup(3), ec_config_validate(3), ec_config_dup(3), ec_config_dump(3), ec_config_dict_del(3), ec_config_bool(3)


Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.


and that's the whole page, periodt. πŸ’œ

this was libecoli, dated 2026-06-11, page EC_CONFIG_U64(3) β€” mwah, go forth and configure ur unsigned ints, bestie πŸŒˆβ­πŸ“

πŸ“¦ where this page comes from