pskc_get_id(3)

πŸ’… pskc_get_id(3) β€” like, the libpskc manual page, bestie

okay so this is a page from the libpskc manual, section 3 (that's the library-functions girlies ✨). it's short, it's sweet, it's giving "one job and she does it." let's go πŸŽ€


🌸 NAME 🌸

pskc_get_id β€” the API function, and yes she's the main character of this whole page πŸ‘‘

✨ SYNOPSIS ✨

#include <pskc.h>

const char * pskc_get_id(pskc_t * container);

like, that's it. that's the whole vibe check. one include, one function call 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pskc_t * container β€” a pskc_t handle, and you get one of those from pskc_init(). that's where she comes from, no cap. so like, init first, then come talk to me πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

Get the PSKC KeyContainer Id attribute. literally that's it. she fetches the Id attribute off the KeyContainer for you, and she does it flawlessly, periodt πŸ”₯

⭐ RETURNS ⭐

a constant string holding the content β€” and bestie, listen to me: must not be deallocated πŸ™ˆ that string is not yours to free, okay? hands off. she's a guest in this house.

and if the thing isn't set? you get NULL. no drama, no crash, just NULL. check for it, iykyk πŸ’…

πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence, tell the girlies at <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 that's the whole license β€” keep the notice, keep the vibes, no royalty required 🧚

and that's the page!! this came out of libpskc version 2.6.15 πŸ“ so like, cite her properly when you're out here slaying in production. mwah πŸ’‹πŸŒˆπŸ’–

πŸ“¦ where this page comes from