pskc_get_version(3)
π pskc_get_version(3) β the libpskc glow-up
okay so bestie, welcome to the pskc_get_version(3) page from libpskc β yes, that libpskc, the one your build system keeps whispering about. sit down, grab a strawberry π, we're gonna read a manpage together and it's gonna be adorable.
β¨ NAME β¨
pskc_get_version β the little function that spills the tea on your container's version, and honestly? it's giving one-job icon. π
πΈ SYNOPSIS πΈ
#include <pskc.h>
const char * pskc_get_version(pskc_t * container);
π ARGUMENTS π
pskc_t * containerβ apskc_thandle, and listen, it has to come frompskc_init(). that's the whole vibe check for this parameter, no cap. π«Ά
π¦ DESCRIPTION π¦
so what does it actually do? it gets the PSKC KeyContainer Version attribute. that's it. that's the function. main character energy, minimal effort. β¨
and lowkey here's the fun part: normally this string is always "1.0". like, always always. and if the field is missing? that's a syntax error according to the PSKC schema β not me being dramatic, that's literally the spec. π so yeah, a missing version is not a "quirky little gap", it's a whole problem.
π RETURNS π
it hands you back a constant string holding the content β and bestie, must not be deallocated, do not free it, do not touch it with free(), it is not yours, it's a borrow not a gift. π
or, if it's not set: NULL. that's it, that's the return value. β
π₯ REPORTING BUGS π₯
found a bug? okay first of all, relatable, second of all β 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/
go off, tell them everything. π
π COPYRIGHT π
Copyright Β© 2009-2026 Simon Josefsson.
and the license tea, verbatim-facts-only edition: 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. iconic of them honestly. π
ngl if you're still here, you're a real one. go call the function, get your "1.0", and remember: not yours, don't free it. π§
and that's the whole page, bestie β brought to you by libpskc 2.6.15, page pskc_get_version(3), signed off with a little bow π 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