shishi_error_printf(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_error_printf ✨

okay bestie, so like... this page is shishi_error_printf(3), part of the shishi manual. it's giving "tiny function, big feelings". let's get into it πŸ’–


🌸 SYNOPSIS 🌸

#include <shishi.h>

void shishi_error_printf(Shishi * handle, const char * format, ...);

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” the shishi handle, and you get one of these from shishi_init(). that's it, that's the whole vibe. no handle, no function, periodt.
  • const char * format β€” a printf style format string. yes, the same energy as your girl printf(3), love that for her.
  • ... β€” the printf style arguments. the lil extras that go with the format string, they're all just hanging out at the end there 🫢

πŸ’… DESCRIPTION πŸ’…

so basically this function sets the internal error description to a printf(3) formatted string. like, you feed it a format and args, and it writes the resulting text into shishi's own little error notebook. iconic behavior honestly.

ngl, this function is mostly for Shishi's internal use β€” it's her private group chat, not a public one. but πŸ‘€ if you develop an extension of Shishi, it may be useful to support the same infrastructure for error handling. so if you're building on top of her, this is how you can match her error-handling aesthetic. iykyk πŸ’–


😭 REPORTING BUGS 😭

found a bug? no cap, please tell someone. report bugs to <bug-shishi@gnu.org>.

like, they genuinely wanna hear from you. don't be shy πŸ¦‹


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. slay, that's the whole license, free of charge, just keep the receipts bestie πŸŽ€


🌈 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 the whole thing, it's the main character of the docs fr fr ⭐


and that's the whole page bestie πŸ’œ this one came from shishi, version 1.0.3, and it lives in section 3 of the manual β€” shishi_error_printf(3), the way that she's a whole manpage and she ate. mwah 🫢🌸