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> πŸ“


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