shishi_encapreppart_read(3)
π shishi_encapreppart_read β the shishi manual, page 3 π
okay bestie, pull up a chair because we're reading a manual page from shishi (that's the shishi_encapreppart_read(3) page, section 3, library functions, iykyk) and honestly? it's giving "small function, big feelings." β¨
πΈ NAME πΈ
shishi_encapreppart_read β it's an API function, no cap, that's literally the whole job description.
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_encapreppart_read(Shishi * handle, FILE * fh, Shishi_asn1 *
encapreppart);
so you gotta #include <shishi.h> first, that's non-negotiable, that's the vibe check at the door π
π ARGUMENTS π
Shishi * handleβ the shishi handle, and bestie you do NOT just make this up yourself, it's the one allocated byshishi_init(). use the real one. πFILE * fhβ a file handle that's open for reading. reading!! not writing, not appending, reading. πShishi_asn1 * encapreppartβ an output variable that receives a newly allocatedEncAPRepPart. so it hands you a fresh one, main character energy, freshly allocated, periodt. π
β¨ DESCRIPTION β¨
Read DER encoded EncAPRepPart from file and populate given variable.
that's it. that's the whole thing. you give it a file, it reads the DER-encoded EncAPRepPart out of it, and it populates the variable you handed over. literally so simple and yet so iconic. π
π₯ RETURN VALUE π₯
Returns SHISHI_OK iff successful. (and if it's not successful? then it's not returning SHISHI_OK, and you should probably pay attention to that, bestie π)
π«Ά REPORTING BUGS π«Ά
found a bug? not me gatekeeping the bug reports, go 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.
(translation: slay, share it, just keep 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.
like, that's the whole manual. the entire thing. one command away. obsessed. π§
lowkey a reminder: this page is from the shishi manual, version 1.0.3, and yes we're saying goodbye from the shishi_encapreppart_read(3) corner of the internet. bye bestie, go read some DER π
πΈπ
π¦ 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