skipSearch(3)
π skipSearch(3) π
okay so bestie, this page lives in util/skiplist.h, and it's the skipSearch(3) manual. it's giving "find my value in a skip list" energy, and we're gonna read it together. no cap. β¨
β¨ NAME β¨
skipSearch β search a skip list.
π¦ SYNOPSIS π¦
#include <util/skiplist.h>
void *skipSearch(skipList list, UINT32 key, void **plock);
π ARGUMENTS π
listβ the list you're searching in. like, the whole vibe container. πkeyβ the key to look for. periodt. πplockβ place for value lock (orNULL). if you don't want the lock, just passNULL, bestie. π
πΈ DESCRIPTION πΈ
so skipSearch searches for <key> in <list>, and returns the value if found, or NULL if not. that's the whole main character move. π«Ά
if <plock> is non-NULL, then the lock returned in <plock> will be associated with the returned value. and until this lock is passed to skipRelease(), the value will not be freed with the freeValue callback (see skipNewList()). so like, hold onto that lock, okay? π
MT-Level: Safe if <list> is thread-safe. β¨
π RETURN VALUE π
plockβ set to value lock. that's it, that's the section. π
π SEE ALSO π
skipDelete(3)skipFreeList(3)skipRelease(3)skipInsert(3)skipSearch(3)β yes bestie, it references itself, iconic behavior. πskipNext(3)skipNewList
mwah π this page was brought to you by ClearSilver on 12 July 2007, and it's the skipSearch(3) manual, periodt. π
π¦ where this page comes from
- debian bookworm: clearsilver-dev 0.10.5-4+b5
- debian trixie: clearsilver-dev 0.10.5-6+b1
- epel 10: clearsilver 0.10.5-80.el10_2 Β· Apache-1.1
- epel 9: clearsilver 0.10.5-74.el9 Β· Apache-1.1
- fedora 43: clearsilver 0.10.5-80.fc43 Β· Apache-1.1
- fedora 44: clearsilver 0.10.5-82.fc44 Β· Apache-1.1
- ubuntu jammy: clearsilver-dev 0.10.5-4build3
- ubuntu noble: clearsilver-dev 0.10.5-4build7
- ubuntu questing: clearsilver-dev 0.10.5-6build1
- ubuntu resolute: clearsilver-dev 0.10.5-7
- ubuntu stonking: clearsilver-dev 0.10.5-7build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms