pskc_set_device_manufacturer(3)

πŸ’… pskc_set_device_manufacturer(3) β€” the libpskc era

okay bestie, so this is a page from the libpskc manual, section 3, and it's literally all about one tiny little setter function. let's get into it πŸŽ€


✨ NAME ✨

pskc_set_device_manufacturer β€” an API function, and yes that's the whole name, she's not hiding anything πŸ’–


🌸 SYNOPSIS 🌸

#include <pskc.h>

void pskc_set_device_manufacturer(pskc_key_t * key, const char *
devmfr);

like, that's it. two arguments, returns nothing (void), no cap. πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • pskc_key_t * key β€” a pskc_key_t handle, which you get from, e.g., pskc_add_keypackage(). this is your main character ✨
  • const char * devmfr β€” a string with the device manufacturer name you wanna set. that's the name, bestie, just the name 🏷️

πŸ’œ DESCRIPTION πŸ’œ

so what does she do? she sets the PSKC KeyPackage DeviceInfo Manufacturer value. and in case you were wondering what that even means: this element indicates the manufacturer of the device. that's the vibe. periodt. πŸ‘‘

but β€” and this is the important part, listen up β€” the pointer is stored in the container, not a copy of the data. 😭 so you must not deallocate the data before another call to this function, or before the last call to any function that uses the container. not even a little. no cap, this will bite you.

🫢 reminder to my favorite person: it's a borrowed pointer, not a gift. keep that memory alive until the container is done with it.

⭐ SINCE ⭐

2.2.0 β€” she's been iconic since 2.2.0, we love a legacy queen 🌈


πŸ¦‹ REPORTING BUGS πŸ¦‹

found a bug? don't suffer in silence, tell the people:


Copyright Β© 2009-2026 Simon Josefsson.

and the legal tea, verbatim-ish but slay: 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. so like, take her anywhere, just bring her name along 🫢


okay that's the whole page, you ate that πŸ’– this little beauty lives in libpskc, version 2.6.15, and the manpage footer doesn't give us a date so we're just gonna say: no date, only vibes ✨ see u in the next one, bestie! πŸ“πŸ§š

πŸ“¦ where this page comes from