QB_MAP_GET(3)
π QB_MAP_GET(3) π
okay bestie, welcome to the libqb Programmer's Manual β¨ you're looking at qb_map_get, and no cap, it's the lil function that goes "hey, you got a key? lemme go get the value for u" π«Ά
πΈ NAME πΈ
qb_map_get β gets the value corresponding to the given key π
like, that's it. that's the whole job. you hand it a key, it hands you back the value. iconic behavior honestly π
β¨ SYNOPSIS β¨
#include <qb/qbmap.h>
void * qb_map_get(
qb_map_t *map,
const char *key
);
so you pull in qb/qbmap.h, and then you call it with a map (a qb_map_t *) and a key (a const char *), and it gives you back a void *. periodt π
π¦ DESCRIPTION π¦
ngl, this section of the page is justβ¦ empty. the original devs left it blank π not me noticing that. so there's no extra lore here β the NAME line above is literally carrying the entire description on its back. main character energy fr fr π
π RETURN VALUE π
NULLβ if the key does not exist π (it's not there, babe, nothing to return)- a pointer to the value β when it is there, you get the pointer π
heads up bestie: it's a void *, so you're the one who decides what it actually points at. iykyk β¨
π₯ SEE ALSO π₯
go read these next, they're the rest of the squad:
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_destroy(3)qb_hashtable_create(3)qb_map_iter_free(3)qb_map_notify_add(3)qb_trie_create(3)qb_map_notify_del_2(3)qb_map_rm(3)
π COPYRIGHT π
Copyright (C) 2010-2020 Red Hat, Inc.
and that's the whole page, bestie π§ this was QB_MAP_GET(3) from the libqb Programmer's Manual, with the LIBQB source stamp dated 2025-09-16 and the footer id QB_MAP_GET(3) πΈπ go get those values, you absolute legend β
π¦ 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