shishi_cfg_from_file(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_cfg_from_file(3) β€” the shishi girlies' guide πŸ’–

okay so bestie, welcome to the shishi manual, and specifically to shishi_cfg_from_file β€” an API function that is lowkey the moment your whole config situation gets handled. sit down, hydrate, let's go 🫢


✨ NAME ✨

shishi_cfg_from_file β€” it's an API function, bestie. that's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_cfg_from_file(Shishi * handle, const char * cfg);

like. look at her. two args, one int, no drama. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” the Shishi library handle, and no you cannot just make one up, it's created by shishi_init(). that's your girl. that's the whole foundation. πŸ¦‹
  • const char * cfg β€” the name of the configuration file. just the name. that's it. πŸ“

πŸ‘‘ DESCRIPTION πŸ‘‘

so what does she actually do? she configures the shishi library using a configuration file located at cfg. that's it. that's the job. she reads the file, she sets the vibe of the library, done. no cap. πŸ”₯


⭐ RETURN VALUE ⭐

returns SHISHI_OK if successful. that's your good ending. if you see SHISHI_OK you may celebrate. πŸ’–


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't be shy, don't be mean, just tell the maintainers:

they want to know. fr fr. 🫢


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. iconic behaviour honestly, very generous of him. πŸ’œ


🌈 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, this command:

info shishi

should give you access to the complete manual. go forth and read, main character. πŸ‘‘


and that's the whole page, bestie. every flag, every arg, every line, preserved with love and also with glitter. ✨

shishi version 1.0.3 Β· shishi_cfg_from_file(3) Β· mwah, catch you in the next manpage πŸ’…πŸ’–πŸ¦‹