shishi_priv_print(3)
β¨ shishi_priv_print β¨
okay so bestie, welcome to the shishi_priv_print(3) page, aka the shishi manual, section 3 π
this one's short and sweet and honestly? iconic. let's get into it π«Ά
πΈ NAME πΈ
shishi_priv_print β literally just an API function, no cap. that's the whole name, that's the whole vibe π
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_priv_print(Shishi * handle, FILE * fh, Shishi_asn1 priv);
yeah she's a C function, she takes three things, she gives you back an int. simple. elegant. main character energy fr fr β¨
π ARGUMENTS π
Shishi * handleβ the shishi handle, and likeβ¦ you gotta get it fromshishi_init(), okay? don't just make one up π that's where it's allocated, that's the rule.FILE * fhβ a file handle that's open for writing. open for writing, bestie. if it's not open for writing, that's a you problem πShishi_asn1 privβ the PRIV you wanna print. that's the thing going on the page. that's the star of the show π
π DESCRIPTION π
so what does she do? she prints the ASCII armored DER encoding of PRIV to the file. that's it. that's the whole job. she's not doing extra, she's not doing less, she's just out here armoring your DER in ASCII and dropping it in the file you handed her π
lowkey obsessed with how straightforward that is ngl.
β RETURN VALUE β
she returns SHISHI_OK iff it worked. iff!! that's the exact word they used and we're keeping it π
so like β if you get SHISHI_OK, slay, you ate. anything else? not slay, check your stuff.
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the 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/
they wanna hear from you fr fr, that's literally why the address is right there π«Ά
π 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.
likeβ¦ go off?? that's so generous of them, we love a permissive license moment π (just keep the notice, that's the one condition, that's it, that's all)
π 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.
so if you want the whole lore, not just this one page, run that and enjoy the extended universe π§β¨
and that's the page!! this was shishi version 1.0.3, page shishi_priv_print(3) β no date on this one, she's timeless like that π
mwah, go print some PRIV, you got this ππ¦π
π¦ 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