shisa_keys_free(3)
π shisa_keys_free(3) π
okay bestie, welcome to the shishi manual, section 3 β this one's the cleanup queen, shisa_keys_free, and she's literally here to tidy up after your key party π
β¨ NAME β¨
shisa_keys_free β an API function, and honestly? a whole vibe of letting go π¦
β¨ SYNOPSIS β¨
#include <shisa.h>
void shisa_keys_free(Shisa * dbh, Shisa_key ** keys, size_t nkeys);
β¨ ARGUMENTS β¨
Shisa * dbhβ your Shisa library handle, the one you got fromshisa(). she's the main character of this whole operation πShisa_key ** keysβ a pointer to an array ofShisakey structures. it's giving "here's the whole squad" πsize_t nkeysβ how many key elements are actually chillin' in thatkeysarray. count 'em, bestie π’
β¨ DESCRIPTION β¨
so here's the tea: this function deallocates every single key element in the array keys of Shisa database keys. and the way she does it? by hitting up shisa_key_free() over and over again, one call per key π
no cap, that's the whole thing. it's a for-loop with good manners. she takes out the trash so you don't have to, one key at a time, nkeys times. slay β¨
π REPORTING BUGS π
found a bug? don't suffer in silence, bestie. report it to <bug-shishi@gnu.org> fr fr π§
- GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2002-2022 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. (yes queen, that's the actual license text and we're keeping it verbatim, no editing the receipts π§Ύ)
π SEE ALSO π
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command
info shishi
should give you access to the complete manual. iykyk π
lowkey important reminder: this page lives in manual section 3, so if you're lost in the sauce, that's where she resides π«Ά
and that's the whole page, bestie! this was shishi version 1.0.3 dropping shisa_keys_free(3) β go forth and free those keys, you absolute icon ππΈβ
π¦ where this page comes from
- debian bookworm: libshisa-dev 1.0.3-1+b1 Β· GPL-3.0-or-later
- debian trixie: libshisa-dev 1.0.3-5+b1 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: libshisa-dev 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: libshisa-dev 1.0.3-5
- ubuntu resolute: libshisa-dev 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: libshisa-dev 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms