pskc_get_device_manufacturer(3)
π pskc_get_device_manufacturer β like, the libpskc manual, bestie
okay so real talk, this is page pskc_get_device_manufacturer(3) from libpskc, and it's genuinely so simple you're gonna slay it in like thirty seconds. it's an API function, which sounds intimidating but it literally just reads a string for you. no cap. π
β¨ NAME β¨
pskc_get_device_manufacturer β API function. that's it, that's the whole name, she's lowkey minimal and we respect it π
πΈ SYNOPSIS πΈ
#include <pskc.h>
const char * pskc_get_device_manufacturer(pskc_key_t * key);
yeah. one #include, one function call. iykyk π¦
π§ ARGUMENTS π§
pskc_key_t * keyβ apskc_key_thandle, and you get it frompskc_get_keypackage(). that's the whole vibe, that's the source. don't just make one up out of nowhere, fr fr π
π DESCRIPTION π
So what does she actually do? She gets the PSKC KeyPackage DeviceInfo Manufacturer value. literally that's the assignment and she ate.
and like, what does that value even mean? it indicates the manufacturer of the device. that's it. it's the "who made this thing" field. main character energy for a string, honestly π
β RETURNS β
okay so here's the part where you gotta pay attention, bestie:
- you get back a constant string β and listen, it must not be deallocated. do not
free()it. do not pass go. it's not yours, it's on loan, hands off π - that string holds the content.
- or, if it's not set, you get
NULL. so like, vibe check your return value before you go dereferencing things, okay? π
π₯ REPORTING BUGS π₯
found a bug? don't suffer in silence, tell the people:
- 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/
literally just email them, they're nice about it π«Ά
π COPYRIGHT π
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. iconic, generous, we love to see it β¨
ngl the whole thing is like four lines of actual logic, but now you know every single detail of it and you can flex on your group chat π
and that's the page!! this was libpskc, version 2.6.15, dated in the footer as 2.6.15, brought to you by pskc_get_device_manufacturer(3) β go get that manufacturer string, bestie, you're gonna do amazing ππ
π¦ 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