QB_TRIE_CREATE(3)
π QB_TRIE_CREATE π
okay bestie, so this is a page from the libqb Programmer's Manual (that's the libqb crew's own little doc set, mwah π) and it's all about one single, tiny, iconic function. let's get into it π¦
β¨ NAME β¨
qb_trie_create β Create a sorted map using a Patricia trie or "Radix tree".
no fr, that's the whole thing. it makes you a sorted map, and the data structure under the hood is a Patricia trie, aka a "Radix tree". yes both names, she answers to both π
β¨ SYNOPSIS β¨
#include <qb/qbmap.h>
qb_map_t * qb_trie_create(
void
);
so you pull in qb/qbmap.h, and then you call qb_trie_create() with no arguments at all β void, she takes nothing β and she hands you back a qb_map_t *. that's it, that's the whole contract π
β¨ DESCRIPTION β¨
okay soβ¦ the original page literally has nothing here. like, the DESCRIPTION heading is there and then it's just vibes and silence π. so i'm not gonna make anything up, bestie β no cap, there is no description text on this page. the name up top and the synopsis are doing all the talking. slay, i guess?? π
fr fr, don't let me invent behaviour for you. everything this page actually tells you is inNAMEandSYNOPSIS. that's it.
β¨ SEE ALSO β¨
the girlies she hangs out with π β go read these too, they're all part of the same little map/trie/iterator friend group:
qb_trie_dump(3)qb_map_iter_create(3)qb_skiplist_create(3)qb_map_notify_del(3)qb_map_put(3)qb_map_count_get(3)qb_map_foreach(3)qb_map_pref_iter_create(3)qb_map_iter_next(3)qb_map_get(3)qb_map_destroy(3)qb_hashtable_create(3)qb_map_iter_free(3)qb_map_notify_add(3)qb_map_notify_del_2(3)qb_map_rm(3)
β¨ COPYRIGHT β¨
Copyright (C) 2010-2020 Red Hat, Inc.
that's the legal tea, keep it cute, keep it intact πΈ
and that's the page!! π this one came from the LIBQB manual set, dated 2025-09-16, and it's filed under QB_TRIE_CREATE(3). go forth and build your sorted map, main character π§β¨ bye bestie!! π«Ά
π¦ where this page comes from
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- ubuntu resolute: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- ubuntu stonking: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms