shishi_x509ca_default_file_guess(3)
β¨ shishi_x509ca_default_file_guess β¨
okay bestie, so we're in the shishi part of the man pages today, and this one is shishi_x509ca_default_file_guess(3) β literally the "guess me a cert file" girlie of the API function family. she's tiny, she's useful, she's giving main character energy in like twelve lines. let's go π
πΈ NAME πΈ
shishi_x509ca_default_file_guess β an API function, no notes, that's the whole vibe π
β¨ SYNOPSIS β¨
#include <shishi.h>
char * shishi_x509ca_default_file_guess(Shishi * handle);
like. that's it. that's the whole signature. iconic honestly π¦
π«Ά ARGUMENTS π«Ά
Shishi * handleβ the Shishi library handle, and you gotta create it withshishi_init(). no handle, no guessing, periodt.
π DESCRIPTION π
so what she does is: she guesses the default X.509 CA certificate filename for you. and the answer, every time, is
$HOME/.shishi/client.ca
like she's not out here doing detective work fr fr, she just knows. the vibe check is passed, the file is named, we move on β¨
π RETURN VALUE π
she hands you back the default X.509 client certificate filename as a string β and listen, bestie, this is the important part β that string is yours to free(). the caller has to deallocate it. she is NOT cleaning up after you. not me forgetting to free() and leaking memory for the rest of eternity π please don't be that girlie.
π REPORTING BUGS π
found a bug? (rude of the bug, honestly.) tell the nice people:
- Report bugs to <bug-shishi@gnu.org>.
- GNU Shishi home page: http://www.gnu.org/software/shishi/
- General help using GNU software: http://www.gnu.org/gethelp/
ngl they'd probably rather hear about it than have you suffer in silence. spill. π
π 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. so like, copy away, just keep the receipts π§
π₯ SEE ALSO π₯
the full documentation for shishi is maintained as a Texinfo manual. and if the info and shishi programs are properly installed at your site, this command
info shishi
should give you access to the complete manual. iykyk, go read the whole thing, it's a journey π
okay that's the page, we ate, no crumbs left π this was shishi 1.0.3, the shishi_x509ca_default_file_guess(3) era, brought to you by the shishi crew β bye bestie, go free() your strings πβ¨π
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 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