pskc_global_init(3)
π NAME π
pskc_global_init β the "wake up babe, the library's on" function, aka the API function that boots the whole PSKC situation β¨
π¦ SYNOPSIS π¦
#include <pskc.h>
int pskc_global_init( void);
π ARGUMENTS π
voidβ literally nothing, bestie. No args, no drama, she takes zero input and that's iconic of her π
πΈ DESCRIPTION πΈ
Okay so here's the tea β β this function initializes the PSKC library. That's it, that's the whole vibe.
Every single user of this library needs to call this function before touching any other functions. No cap, no skipping ahead β she's the main character and she goes first π. Think of it as the vibe check your whole program has to pass before anything else in libpskc is allowed to happen.
And when you're done with the PSKC library and don't need it anymore? You should call pskc_global_done() β that's the clean-up bestie, the matching set, the "okay bye ily" to pskc_global_init's "heyyy" π«Ά.
Fr fr: init first, done last. Doing it in any other order is not the move π
β RETURNS β
On success you get PSKC_OK β which is zero β back π. Slay.
Otherwise you get an error code instead, so like... check it, bestie. Don't just ignore the return value and hope for the best π
π REPORTING BUGS π
Found a bug? Spill the tea 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.
That's the whole page, bestie β no crumbs left behind π β¨
This little love letter came to you from libpskc, version 2.6.15 β go forth and pskc_global_init responsibly, mwah π§π
π¦ 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