shishi_error_set_outputtype(3)
β¨ NAME β¨
shishi_error_set_outputtype β it's an API function, bestie π
πΈ SYNOPSIS πΈ
#include <shishi.h>
void shishi_error_set_outputtype(Shishi * handle, int type);
π ARGUMENTS π
Shishi * handleβ your shishi handle, aka the lil guy you got fromshishi_init(). You know the one π«Άint typeβ the output type, and it's of enum typeShishi_outputtype. Very demure, very typed.
π DESCRIPTION π
Okay so what this does: it sets the output type β that's NULL, stderr or syslog β for all the information and warning messages. Basically it's the vibe check for where your messages go π
The intended values are:
SHISHI_OUTPUTTYPE_NULLβ no output at all, silence, ghost mode πSHISHI_OUTPUTTYPE_STDERRβ output goes to the console, classicSHISHI_OUTPUTTYPE_SYSLOGβ syslog messaging, for the sysadmin girlies
And here's the little plot twist: that first value covers everything different from the latter two values. So like, anything that isn't SHISHI_OUTPUTTYPE_STDERR or SHISHI_OUTPUTTYPE_SYSLOG gets treated as SHISHI_OUTPUTTYPE_NULL. No cap, that's literally what it says. β¨
π REPORTING BUGS π
Found a bug? Not the moment, but okay β report it 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. Slay, honestly π
π¦ 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 read it, it's giving main character energy ππ
That's the whole page, bestie β from the shishi manual, version 1.0.3, in the shishi_error_set_outputtype(3) section. Stan a documented API function π
β¨
π¦ 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