shishi_safe_from_file(3)
π shishi_safe_from_file(3) π
okay bestie, welcome to section 3 of the shishi manual β this is the page for shishi_safe_from_file, and yes it's exactly as iconic as it sounds π«Ά
β¨ NAME β¨
shishi_safe_from_file β an API function, and no, it is not "safe" like emotionally safe, it's a SAFE, capital letters, we'll get there π
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_safe_from_file(Shishi * handle, Shishi_asn1 * safe, int
filetype, const char * filename);
like. she's a four-argument girlie. she takes, she gives, she returns an int. no cap β¨
π ARGUMENTS π
Shishi * handleβ the shishi handle, and you gotta have gotten it fromshishi_init()first, periodt. no handle, no party.Shishi_asn1 * safeβ an output variable that ends up holding a newly allocated SAFE. yes bestie she allocates for you. that's her love language π₯Ίint filetypeβ an input variable saying what type of file we're reading, so go peek atShishi_filetypeif you need the tea on the options.const char * filenameβ an input variable with the filename to read from. the actual file. the source of truth. iconic.
π¦ DESCRIPTION π¦
Read SAFE from file in specified TYPE.
that's it. that's the whole vibe. she reads a SAFE out of a file, using the file type you told her about, and hands it back to you in safe. lowkey the most straightforward function on this whole manual. obsessed π
β RETURN VALUE β
Returns SHISHI_OK iff successful. iff!! that's "if and only if", she's being precise, she's being picky, and honestly? we respect it π
π REPORTING BUGS π
Found a bug? not the vibe. 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. fr fr, no royalty, just keep the notice π
π§ 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 β the info pages are where the real lore lives πβ¨
okay that's the whole page bestie, go forth and read your SAFEs, and remember: SHISHI_OK or it didn't happen π
this was shishi 1.0.3, page shishi_safe_from_file(3), brought to you with love, allocated SAFEs, and zero bugs (allegedly) ππ¦π
π¦ 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