shishi_priv_to_file(3)
π shishi_priv_to_file β the shishi manual, page 3 π
okay bestie, welcome to shishi_priv_to_file(3), part of the shishi manual. yes it's a C API function, yes it's gonna be fun, sit down, grab a strawberry π
β¨ NAME β¨
shishi_priv_to_file β an API function. that's it. that's the name. iconic of it honestly π
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_priv_to_file(Shishi * handle, Shishi_asn1 priv, int filetype,
const char * filename);
there she is. four arguments, one int coming back at you. no cap. β¨
πΈ ARGUMENTS πΈ
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). like, the whole vibe of your session lives in here π«ΆShishi_asn1 privβ the PRIV you wanna save. your little cryptographic treasure πint filetypeβ an input variable that says what type of file we're writing, checkShishi_filetypefor the options, go look it up i'm not doing your homework for you πconst char * filenameβ an input variable holding the filename you're writing to. literally just the name of the file. that's it. that's the girl π
π DESCRIPTION π
Write PRIV to file in specified TYPE. and bestie, listen β the file will be truncated if it exists. not "appended to", not "merged with", truncated. so if there was stuff in there before? gone. bye. π
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's the good one. the "we ate" one. π₯
π REPORTING BUGS π
found a bug? don't be shy, report it to <bug-shishi@gnu.org>. they wanna hear from you 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. (so yes you can share it, just keep the receipts bestie π§Ύπ)
π 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. go read it, it's giving β¨ encyclopedic β¨
and that's the whole page bestie!! this was shishi version 1.0.3, from the shishi_priv_to_file(3) page, mwah π
π thanks for reading, go write some PRIVs, love u, bye π¦πΈ
π¦ 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