textsearch_unregister(9)
π NAME π
textsearch_unregister β unregister a textsearch module. It's literally the goodbye button for a textsearch module, bestie. This page is from the Kernel API Manual, mwah π
.
β¨ SYNOPSIS β¨
int textsearch_unregister (struct ts_ops *ops );
π ARGUMENTS π
opsβ operations lookup table. Yeah, the lookup table of operations, no cap π«Ά.
π¦ DESCRIPTION π¦
Okay so this function must be called by textsearch modules to announce their disappearance β for examples, when the module gets unloaded. Like, it's giving "I'm leaving, but make it official" β¨.
The ops parameter must be the same as the one during the registration. Do not switch it up, periodt π.
It returns 0 on success or -ENOENT if no matching textsearch registration was found. That's the whole vibe check πΈ.
π₯ SEE ALSO π₯
- Kernel file:
./lib/textsearch.c ts_intro(9)textsearch_register(9)textsearch_find_continuous(9)textsearch_prepare(9)textsearch_destroy(9)
Cute little sign-off: the footer says source/version ./lib, dated October 2026 π«Άπ. That's it, that's the page, slay π§β¨.
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms