pskc_check_version(3)

✨ pskc_check_version ✨

okay so bestie, welcome to pskc_check_version(3) β€” it's a libpskc page, and honestly it's giving "short but essential" πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <pskc.h>

const char * pskc_check_version(const char * req_version);

🌸 ARGUMENTS 🌸

  • const char * req_version β€” the version string you wanna compare against, or NULL if you're feeling ✨unbothered✨ and don't actually want a check.

πŸ’– DESCRIPTION πŸ’–

It checks the PSKC library version. that's it, that's the vibe πŸ¦‹

pssst β€” PSKC_VERSION is literally the perfect req_version string to hand over here πŸ‘‘

and like, the iconic part? This function is one of the few in the library you can call without a successful pskc_global_init() first. no setup, no warm-up, just vibes 🌈


⭐ RETURN VALUE ⭐

So here's what happens: it checks that the library's version is at minimum the one you passed in as a string in req_version, and then it returns the actual version string of the library. 🫢

  • if the condition isn't met β†’ it returns NULL 😭
  • if you pass NULL β†’ no check is done at all, and it just returns the version string, periodt πŸ’€

πŸ› REPORTING BUGS πŸ›

Found a bug? spill it 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. (fr fr, just keep the notice and you're golden πŸ’œ)


and that's the whole page bestie πŸŽ€ no cap, this one was a quick read β€” libpskc version 2.6.15, signing off πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from