pskc_pinusagemode2str(3)
π pskc_pinusagemode2str(3) β the libpskc girlie has entered the chat
okay so bestie, you found a page from libpskc and you're probably like "what does this even do" β don't worry, it's actually so simple and we're gonna get through it together π«Ά
β¨ NAME β¨
pskc_pinusagemode2str β literally an API function, that's the whole name, that's the whole vibe π
πΈ SYNOPSIS πΈ
#include <pskc.h>
const char * pskc_pinusagemode2str(pskc_pinusagemode pinusagemode);
like yes, that's it, that's the whole signature, no cap π
π¦ ARGUMENTS π¦
pskc_pinusagemode pinusagemodeβ okay so this is an pskc_pinusagemode enumeration type. that's the whole thing. you hand it apskc_pinusagemodeand it's gonna do its lil conversion thing β¨
π DESCRIPTION π
so here's the tea, bestie: this function converts pskc_pinusagemode to a string. that's it. that's the job. iconic behaviour honestly π
for example (and I'm literally quoting the manpage energy here), pskc_pinusagemode2str(PSKC_PINUSAGEMODE_LOCAL) will return "Local". the way that it justβ¦ gives you back a string?? obsessed π
β οΈ the way that this matters: the returned string must not be deallocated. do not go freeing it, do not go free()-ing it, do not be that girl. it is not yours to deallocate, periodt π₯
β RETURNS β
it returns a string corresponding to pskc_pinusagemode. that's the whole return value, bestie, no surprises, no plot twists π
π REPORTING BUGS π
found a bug? (rude of it, honestly.) 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/
iykyk, go read the docs if you're stuck, the home page is literally right there π
π 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. like yes, go ahead, fork it, print it, put it on a tote bag, it's all graded and permitted, just keep the notice, mkay? π«Ά
okay bestie, that's the whole page, you ate that reading it up π
β¨ this was libpskc version 2.6.15, and this lil page (pskc_pinusagemode2str(3)) was living its best life in the 2.6.15 era β bye bye, go convert some pin usage modes, mwah πππΈ
π¦ 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