PX_GET_PARAMETER(3)

πŸ’– PX_GET_PARAMETER πŸ’–

okay bestie, welcome to PX_get_parameter(3) β€” a lil function from the Library Functions Manual section of the paradox library. she's short, she's sweet, she's giving "get me the value of a parameter" and honestly? iconic.


✨ NAME ✨

PX_get_parameter β€” get various parameter values πŸŽ€


✨ SYNOPSIS ✨

#include <paradox.h>

int PX_get_parameter(pxdoc_t *pxdoc, const char *name, char **value)

✨ DESCRIPTION ✨

so here's the vibe 🌸 β€” this function gets you the value of the parameter called name, and it hands that value back through the parameter you passed in as value. like, you ask, it delivers, no cap. πŸ’…

want the full menu of parameter names you can ask for? go check out PX_set_parameter(3) β€” she's got the list, iykyk. πŸ“‹


✨ RETURN VALUE ✨

  • returns 0 on success βœ…
  • returns -1 on failure 😭

✨ SEE ALSO ✨


✨ AUTHOR ✨

this manual page was written by Uwe Steinmann <uwe@steinmann.cx> 🫢 β€” ty for the lore, king.


and that's the whole page, bestie!! πŸ¦‹ it's PX_GET_PARAMETER(3) from the Library Functions Manual, and this little writeup is the version we're living in rn β€” go read PX_set_parameter(3) next, mwah πŸ’–βœ¨πŸ‘‘