shishi_aprep_to_file(3)
β¨ shishi_aprep_to_file β¨ β the girlies' guide to section 3 of the shishi manual π
okay bestie, so this one is a section 3 library call, shishi_aprep_to_file(3), and it's literally just "save the AP-REP to a file, bestie" energy. no cap. let's go π¦
πΈ NAME πΈ
shishi_aprep_to_file β it's an API function, and it's giving "write the thing to disk" β¨
π SYNOPSIS π
#include <shishi.h>
int shishi_aprep_to_file(Shishi * handle, Shishi_asn1 aprep, int
filetype, const char * filename);
like, that's the whole shape of it. four little cuties going in, one int coming out π
π ARGUMENTS π
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). it's the main character of the whole library fr fr πShishi_asn1 aprepβ the AP-REP you wanna save. that's the vibe we're preserving. π«Άint filetypeβ an input variable that says what type of file gets written. check outShishi_filetypefor the actual options, iykyk. πconst char * filenameβ an input variable holding the filename you're writing to. literally just the name of the file. simple as. π
π¦ DESCRIPTION π¦
Write AP-REP to file in specified TYPE. The file will be truncated if it exists.
β οΈ not me warning you: truncated means if that file already exists, its old contents are GONE. absolutely obliterated. so double-check your filename before you call this, bestie ππ
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's the slay outcome, the one you want. anything else? not the vibe. π
π REPORTING BUGS π
found a bug? spill it to <bug-shishi@gnu.org>. they wanna hear it, 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 like, go off, share it, remix it β just keep the receipts, periodt β¨)
π 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. that's the whole lore, go read it π§
and that's the page, babe β from the shishi package, version 1.0.3, page shishi_aprep_to_file(3). mwah, go write some AP-REPs πβ¨
π¦ 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