shishi_tkts_default_file_guess(3)
π shishi_tkts_default_file_guess(3) π
okay bestie, welcome to the shishi manual, section 3 (that's library calls, iykyk). this one is literally just about guessing where your tickets live. no cap, that's the whole vibe. π«β¨
β¨ NAME β¨
shishi_tkts_default_file_guess β API function
πΈ SYNOPSIS πΈ
#include <shishi.h>
char * shishi_tkts_default_file_guess(Shishi * handle);
like. one function. one arg. we love a low-maintenance icon. π
π ARGUMENTS π
Shishi * handleβ the Shishi library handle, and you get it by callingshishi_init(). that's it, that's the whole requirement. create it first or this is giving nothing. π«Ά
π¦ DESCRIPTION π¦
so what does she do? she guesses the default ticket filename. that's the job. and the way she guesses is very much a priority list, in this exact order:
$SHISHI_TICKETS$SHISHI_HOME/tickets$HOME/.shishi/tickets
that's it bestie, that's the whole algorithm. she checks the environment, she checks the fallbacks, she picks one. β
π RETURN VALUE π
she returns the default tkts filename as a string. and listen β this string is yours now. the caller has to deallocate it with free(). not optional. if you don't free() it you're leaking memory and the vibe check has failed. ππ
π REPORTING BUGS π
found something cursed? 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: go forth and share, 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. go read it, it's the main character of docs. πβ¨
okay that's the whole page, ty for coming to my ted talk π this was shishi version 1.0.3, and yeah, the page is literally titled shishi_tkts_default_file_guess(3) β mwah, slay, periodt. ππ¦πΈ
π¦ 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