pskc_set_id(3)

okay so bestie, this is pskc_set_id from libpskc β€” the manual page you’re reading rn, and it’s giving β€œtiny setter function with main character energy” πŸ’–βœ¨

πŸŽ€ NAME πŸŽ€

pskc_set_id β€” API function. That’s the whole name, no cap.

✨ SYNOPSIS ✨

#include <pskc.h>

void pskc_set_id(pskc_t * container, const char * id);

🫢 ARGUMENTS 🫢

  • pskc_t * container β€” a pskc_t handle, from pskc_init(). That’s your container bestie πŸ’…
  • const char * id β€” pointer to id string to set. Just point at the string, okay? πŸŽ€

πŸ’… DESCRIPTION πŸ’…

Set the PSKC KeyContainer Id attribute. That’s the vibe: this function sets the Id attribute on your PSKC KeyContainer, periodt.

The pointer is stored in container, not a copy of the data, so you must not deallocate the data before another call to this function or the last call to any function using container.

⚠️ okay this part is important, bestie: it stores the pointer, not a copy. Do not free that data too early β€” not before another call to this function, and not before the last call to any function using container. The memory ownership tea is real β˜•οΈπŸ’€

⭐ SINCE ⭐

2.2.0 β€” so it’s been around, lowkey iconic πŸ¦‹

πŸ“£ REPORTING BUGS πŸ“£

Report bugs 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 Β© 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.


bye bestie 🫢✨ this page is from libpskc version 2.6.15, and we’re signing off from the pskc_set_id(3) corner of the group chat πŸ’œπŸŒΈ

πŸ“¦ where this page comes from