pskc_get_device_serialno(3)

πŸ’… pskc_get_device_serialno(3) β€” the libpskc glow-up

okay so bestie, this one lives in libpskc and it's lowkey the cutest little getter you ever did see. it's the function that goes and fetches the DeviceInfo SerialNo for you. no cap, that's the whole vibe ✨


πŸ¦‹ NAME

pskc_get_device_serialno β€” literally an API function, that's it, that's the bio πŸŽ€


🌸 SYNOPSIS

#include <pskc.h>

const char * pskc_get_device_serialno(pskc_key_t * key);

πŸ’– ARGUMENTS

  • pskc_key_t * key β€” a pskc_key_t handle, bestie. you get one from pskc_get_keypackage(), mwah 🫢

✨ DESCRIPTION

Get the PSKC KeyPackage DeviceInfo SerialNo value. this element holds the serial number of the device β€” like, the device's little name tag at the party πŸŽ€


πŸ”₯ RETURNS

a constant string (must not be deallocated, ok? do NOT free it, i'm serious 😭) holding the content β€” or NULL if it's not set. so do your vibe check before you deref πŸ’€


🌈 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/ β€” fr fr, they wanna hear from you πŸ‘‘


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 behaviour, no notes πŸ’…


okay that's the whole page, you ate that πŸ“ this was libpskc version 2.6.15, signing off with pskc_get_device_serialno(3) β€” periodt πŸ’–

πŸ“¦ where this page comes from