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
0when it slays (success π) - returns
-1when 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 π¦
π¦ where this page comes from
- debian bookworm: pxlib-dev 0.6.8-1+b1
- debian trixie: pxlib-dev 0.6.9-1+b1
- ubuntu jammy: pxlib-dev 0.6.8-1
- ubuntu noble: pxlib-dev 0.6.8-1
- ubuntu questing: pxlib-dev 0.6.9-1
- ubuntu resolute: pxlib-dev 0.6.9-1build1
- ubuntu stonking: pxlib-dev 0.6.10-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms