qt_dictionary_get(3)

πŸ“¦ version 1.22^20251007gitcedb1fc, in fedora 43, fedora 44

πŸ’– qt_dictionary_get(3) πŸ’–

okay bestie, so this is one of the libqthread pages, and it's literally the dictionary lookup girlie of the family. she goes and gets you a value. that's the whole job. iconic behaviour, no notes. πŸŽ€


✨ NAME ✨

qt_dictionary_get β€” retrieve a value from the dictionary 🫢


✨ SYNOPSIS ✨

#include <qthread/dictionary.h>

qt_dictionary *
qt_dictionary_get (qt_dictionary *dict,
                   void *key);

like look at her. two arguments. clean. slay. πŸ’…


✨ DESCRIPTION ✨

so basically this function does the thing you'd expect: it retrieves the value that's stored in the dictionary and that is associated with the key you hand it. you pass in the dict, you pass in the key, and she comes back with the item tied to that key. that's it. that's the vibe. 🌸


✨ RETURN VALUES ✨

  • if the key was present in the dictionary β†’ you get the associated item back πŸ₯³
  • otherwise β†’ NULL 😭
fr fr, always check for that NULL, bestie. it's giving "not found" energy and you do not wanna dereference it. πŸ’€

✨ SEE ALSO ✨

her whole friend group, go say hi:


anyway that's the whole page, you ate that πŸ’œ this one comes from libqthread and the page is dated AUGUST 2012, so yeah she's been serving since way before we got here and she's still thriving. mwah, bye bestie!! πŸ‘‘βœ¨πŸŒˆ

πŸ“¦ where this page comes from