EC_DICT_LEN(3)
β¨ EC_DICT_LEN(3) β¨
okay bestie, pull up a chair π this is a page from the Libecoli Programmer's Manual, and honestly? it's a short one. a little snack. a lil' amuse-bouche of a manpage. but we're gonna make it iconic anyway π
πΈ NAME πΈ
ec_dict_len β get the length of a hash table.
that's it. that's the whole job. she counts. she's the accountant of the dict world and she is THRIVING. π§
π SYNOPSIS π
#include <ecoli/dict.h>
size_t ec_dict_len(
const struct ec_dict *dict /* The hash table. */
);
the vibes here are immaculate: you hand her a pointer to a const struct ec_dict β that's your hash table, the one and only β and she gives you back a size_t. no drama. no side quests. no mutating your data (she said const, and she meant it π₯).
dictβ the hash table. that's the whole parameter. that's her. that's the girl. π
π RETURN VALUE π
The length of the hash table.
yes queen, that's literally the entire return value section. you ask how long it is, she tells you how long it is. slay. β¨
π¦ SEE ALSO π¦
the whole friend group π«Ά β go say hi, they're all part of the same crew:
ec_dict_iter(3)ec_dict_has_key(3)ec_dict_free(3)ec_dict_iter_get_val(3)ec_dict_dup(3)ec_dict_del(3)ec_dict(3)ec_dict_set(3)ec_dict_get(3)ec_dict_dump(3)ec_dict_iter_next(3)ec_dict_iter_get_key(3)
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the whole page, bestie π this one shipped as part of libecoli, dated 2026-06-11, and it lives at section 3 as EC_DICT_LEN(3) β so if you ever forget how big your hash table is, you know exactly who to call πβ¨ no cap, periodt, mwah πππ¦
π¦ where this page comes from
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms