DTSEARCHFREERESULTS(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’– DtSearchFreeResults(3) πŸ’–

okay bestie, welcome to the DtSearchFreeResults(library call) manual page β€” yes, the manual name is library call, and the header calls the page DtSearchFreeResults(library call). The synopsis function is DtFreeSearchResults, so the docs are giving slightly different names, but that's literally what's on the page, iykyk. 🫢

✨ NAME ✨

DtSearchFree Results β€” free storage allocated for DtSearch results lists. Yes, the NAME line has that space in DtSearchFree Results; we're preserving it fr fr.

🌸 SYNOPSIS 🌸

#include &<Dt/Search.h>
int DtFreeSearchResults(
DtSrResult **list);

πŸ¦‹ DESCRIPTION πŸ¦‹

So the DtFreeSearchResults function frees the results list pointed to by list, which was originally returned from DtSearchQuery, and sets the list pointer to NULL. That's the whole vibe: it's the cleanup function, and it's taking care of that list for you. πŸ’…

πŸŽ€ RETURNS πŸŽ€

Always returns DtSrOK. Like, always always. No cap. ✨

πŸ’… SEE ALSO πŸ’…


okay that's the page, bestie β€” the footer just says DtSearchFreeResults(library call) and there's no extra version or date listed, so that's the cute little sign-off. bye and stay slay πŸ’–πŸ¦‹

πŸ“¦ where this page comes from