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:


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