PX_GET_VALUE(3)

πŸ’– PX_GET_VALUE(3) β€” the bestie edition πŸ’–

okay so real quick, the vibe check: this is a page from the Library Functions Manual, and it's all about PX_get_value in section 3. yes bestie, we're in the library functions era and it's giving ✨utility✨


🌸 NAME 🌸

PX_get_value β€” get various parameter values. that's it, that's the whole job description, and she does it flawlessly πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <paradox.h>

int PX_get_value(pxdoc_t *pxdoc, const char *name, float *value)

look at that signature. iconic. no notes.


πŸŽ€ DESCRIPTION πŸŽ€

so you wanna know what a parameter's value actually is? mood. that's literally what PX_get_value is for, bestie.

it grabs the value of the parameter you name in name, and drops it into the value parameter you passed in. the way that it just hands you the number... obsessed 🫢

heads up: for the full list of parameter names you can actually use here, go check PX_set_value(3). that's where the receipts live, fr fr.

⭐ RETURN VALUE ⭐

  • returns 0 when it slays (success πŸ’–)
  • returns -1 when it does not slay (failure 😭)

🌈 SEE ALSO 🌈

the trio. the friend group. iykyk πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

this manual page was written by Uwe Steinmann uwe@steinmann.cx. thank you for your service, king 🫑✨


so yeah, that's the whole page! it's PX_GET_VALUE(3), straight out of the Library Functions Manual, no cap, no date on the tin, just pure vintage manpage energy πŸ’€πŸŽ€ bye bestie, go get those parameter values πŸ¦‹