QB_MAP_ITER_NEXT(3)
π QB_MAP_ITER_NEXT β get the next item, bestie π
okay so this is a page from the libqb Programmer's Manual, and we're talking about qb_map_iter_next. it's literally the "gimme the next one" function of the iterator world. sit down, grab a boba, we're doing this π§β¨
πΈ NAME πΈ
qb_map_iter_next β Get the next item. that's it. that's the whole job. she's simple, she's focused, she serves π
β¨ SYNOPSIS β¨
#include <qb/qbmap.h>
const char * qb_map_iter_next(
qb_map_iter_t *i, /* the iterator */
void **value /* (out) the next item's value*/
);
so you roll up with an iterator, you hand over a pointer-to-pointer for the value, and she hands you back a key. iconic behavior honestly π
π PARAMS π
iβ the iterator. that's your lil cursor guy, the one doing all the walking πΆβοΈvalueβ(out)the next item's value. note the(out)bestie, this is her writing to you, not you writing to her. she fills this in and hands it back π«Ά
π¦ DESCRIPTION π¦
not me reading the original page and finding this section literally empty π no description. zero. nada. the whole section is just vibes and silence. so likeβ¦ that's what's here. nothing. i'm not gonna make stuff up, that's not the move π
π RETURN VALUE π
- the next key β yes bestie, the key. she returns the key. that's the whole return situation π
NULLβ the end of the iteration. when she gives youNULL, the walk is over, no more items, pack it up, go home π
π₯ SEE ALSO π₯
the whole friend group, fr fr β go read these too:
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_get(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 page, bestie π this lil gem came to you from the libqb crew, dated 2025-09-16, and yes it's the QB_MAP_ITER_NEXT(3) page β you already knew that tho. go iterate something cute β¨π¦π
π¦ 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