EC_DICT_DEL(3)
π EC_DICT_DEL β bestie, it's giving "delete from hash table" π
okay so this is the ec_dict_del(3) page from the Libecoli Programmer's Manual, and honestly? she's short, she's sweet, she's a whole mood. no cap. π
πΈ NAME πΈ
ec_dict_del β delete an object from the hash table. that's it. that's the job. bye bestie πβ¨
β¨ SYNOPSIS β¨
the way you gotta pull in the header first, always:
#include <ecoli/dict.h>
and then, the moment we've all been waiting for:
int ec_dict_del(
struct ec_dict *dict, /* The hash table. */
const char *key /* The key string. Must not be NULL. */
);
okay so real talk about the two things you're handing over:
dictβ this is your hash table. the main character. the whole vibe. π«Άkeyβ the key string. and bestie, listen, it must not beNULL. i'm not playing, the manpage says it, so we say it. π¨
π RETURN VALUE π
0β success!! you ate, no crumbs, periodt π-1β error π and lowkey,errnogets set. so check yourerrno, bestie, she's talking to you.
π¦ SEE ALSO π¦
go read these too, they're iconic in their own right, fr fr:
ec_dict_iter(3)ec_dict_has_key(3)ec_dict_free(3)ec_dict_iter_get_val(3)ec_dict_len(3)ec_dict_dup(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.
not me getting emotional over a delete function π anyway if you pass a NULL key that's on you, i warned you, that's undefined-adjacent chaos energy and we don't do that here π
and that's the page, bestie!! this lil drop is from the Libecoli Programmer's Manual, dated 2026-06-11 β write it down, cite it in your commit message, be that girl πβπ§ππ
π¦ 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