shishi_priv_from_file(3)
π shishi_priv_from_file π
okay bestie, welcome to the shishi manual, page shishi_priv_from_file(3). yes we're doing C library lore today, and yes it's gonna be cute AND correct. grab a strawberry π and let's go.
β¨ NAME β¨
shishi_priv_from_file β it's an API function, periodt. that's literally the whole name section. iconic of it.
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_priv_from_file(Shishi * handle, Shishi_asn1 * priv, int
filetype, const char * filename);
look at that signature. four arguments. she's booked and busy π
π ARGUMENTS π
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). like, you can't do anything without her. main character energy fr.Shishi_asn1 * privβ an output variable that ends up holding a freshly allocatedPRIV. she's new here, treat her nice π«Άint filetypeβ an input variable saying what type of file we're reading. which types, you ask? checkShishi_filetype, bestie, that's where the list lives πconst char * filenameβ the input filename you wanna read from. the actual file. the source of truth. no cap.
π¦ DESCRIPTION π¦
Read PRIV from file in specified TYPE.
that's the whole vibe. it reads. it's from a file. the file is of the specified type. slay β¨
β RETURN VALUE β
Returns SHISHI_OK iff successful. so if you get SHISHI_OK back, you ate. anything else? not so much π
π REPORTING BUGS π
found a bug? don't be shy, 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/
π 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, you may copy it, yes it's free, no you don't owe anyone money. that's the whole deal, and it's lowkey generous π)
π« 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 πβ¨
and that's the page!! shishi 1.0.3, this page is shishi_priv_from_file(3), and honestly? she understood the assignment. mwah π
ππ¦ bye bestie!
π¦ 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