pskc_global_log(3)
π pskc_global_log β like, the libpskc one, section 3
okay bestie so this is the pskc_global_log(3) page from libpskc, and honestly it's a short little icon β but it's important, so let's give it the attention it deserves β¨
πΈ NAME πΈ
pskc_global_log β literally the API function, that's her whole job π
π¦ SYNOPSIS π¦
#include <pskc.h>
void pskc_global_log(pskc_log_func log_func);
like yes, that's it, that's the whole vibe π
β¨ ARGUMENTS β¨
pskc_log_func log_funcβ the brand new globalpskc_log_funclog function you wanna use π«Ά like, this is the callback that's gonna get called instead of whatever was there before.
π DESCRIPTION π
so basically: this here turns on the global debug logging function. when the library wants to print out various debug info, it'll invoke your function to do it π₯
and the signature for pskc_log_func is of this exact form, no cap:
void (*pskc_log_func) (const char *msg);
the way that this is useful is that your application can use it to provide a debug mode with trace information for the user β like a little peek behind the curtain for whoever's debugging πβ¨ iconic behaviour honestly.
π REPORTING BUGS π
found a bug? don't suffer in silence bestie, report it to <oath-toolkit-help@nongnu.org> π¬
- libpskc home page:
https://oath-toolkit.codeberg.page/ - general help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2009-2026 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 π (yes, that's the actual licence situation β keep the notice, it's free, periodt).
π§ little sign-off from me to you: this page ispskc_global_log(3)from libpskc, version 2.6.15 β and the header up top saidpskc_global_log(3)too, so like, it's giving consistency π mwah, bye π
π¦ where this page comes from
- arch rolling: oath-toolkit 2.6.15-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms