shishi_tkts_default_file_set(3)

๐Ÿ“ฆ
version 1.0.3 ยท 2 versions
  • 1.0.3 ยท debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 ยท ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’– shishi_tkts_default_file_set โ€” the manual page, but make it make sense ๐Ÿ’–

okay bestie, so this is a page from the shishi manual, section 3 (that's the library-functions section, iykyk). It's called shishi_tkts_default_file_set and it is exactly as niche and exactly as useful as it sounds. Let's get into it. ๐ŸŽ€


โœจ NAME โœจ

shishi_tkts_default_file_set โ€” API function ๐Ÿ’…


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

#include <shishi.h>

void shishi_tkts_default_file_set(Shishi * handle, const char *
tktsfile);

yes bestie, that's the whole thing. two args, no return value, no drama. she's a void. periodt. โญ


๐ŸŒธ ARGUMENTS ๐ŸŒธ

  • Shishi * handle โ€” the Shishi library handle, the one you made with shishi_init(). your main character. ๐Ÿ‘‘
  • const char * tktsfile โ€” a string holding the new default tkts file name. or pass NULL if you want to reset it back to the default, like a little undo button. ๐Ÿ”„

๐Ÿ’œ DESCRIPTION ๐Ÿ’œ

So what she does: she sets the default ticket set filename that the library uses. that's it, that's the job. ๐Ÿซถ

and here's the cute part โ€” the string gets copied into the library, so you can toss your variable the literal second after you call this function. no need to keep it alive, no need to free it later, no lingering attachment. she takes a copy and moves on. self-care honestly. ๐Ÿ’–


๐Ÿ˜ญ REPORTING BUGS ๐Ÿ˜ญ

Found a bug? spill it, but spill it properly โ€” report bugs to <bug-shishi@gnu.org>.

ngl if something's broken, please actually tell them instead of just screaming into the void. the void does not maintain software. ๐Ÿ“ฎ

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: copy it, share it, remix it, just keep the receipt. ๐Ÿงพโœจ)


๐Ÿ”ฅ 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, the whole manual. every last option. go read it, it's giving thorough. ๐ŸŒˆ


and that's the page, bestie!! ๐Ÿฆ‹ this beauty ships with shishi version 1.0.3, from the shishi source, and she's filed right there in section 3 as shishi_tkts_default_file_set(3). mwah, take care of your ticket files, love u, bye ๐Ÿ’…๐Ÿ’–โœจ