PS_GET_VALUE(3)
π PS_GET_VALUE π
okay bestie, so this is the manual page for PS_get_value(3) β it lives in the Library Functions Manual section 3, iykyk. it's giving "small function, big feelings" and honestly? we're obsessed. π
β¨ NAME β¨
PS_get_value β gets certain values π
like... it gets values. some of them. the certain ones. π
π¦ SYNOPSIS π¦
#include <pslib.h>
float PS_get_value(PSDoc *psdoc, char *name, float modifier)
πΈ DESCRIPTION πΈ
so here's the tea, bestie: this function grabs a bunch of values that were set earlier by PS_set_value(3). that's the whole vibe. and listen β the parameters are, by definition, float values. not vibes, not guesses, floats. periodt. β¨
now, the modifier parameter is the main character here. it tells you which resource you're pulling the value for. that can be:
- the id of a font ποΈ
- the id of an image πΌοΈ
and if you're not using it? it must be 0.0. no cap. not 1.0, not 0, not "whatever, close enough" β 0.0. π«Ά
π RETURN VALUE π
returns the value of the parameter, or NULL. that's it, that's the whole answer. π
not me writing afloatfunction that can returnNULL, but okay, we don't make the rules, we just report them. π
π₯ SEE ALSO π₯
PS_set_value(3)β the one who set the values in the first place. the origin story. π
π AUTHOR π
this manual page was written by Uwe Steinmann uwe@steinmann.cx. icon behavior. π
and that's the whole page, bestie!! this was PS_GET_VALUE(3) in the Library Functions Manual β yes, the footer literally just says PS_GET_VALUE(3) again, they said "same energy, no notes." π
no date, no version, just vibes and a page number that isn't a page number. slay. πβ¨π
π¦ where this page comes from
- debian bookworm: pslib-dev 0.4.7-1+b1
- debian trixie: pslib-dev 0.4.8-1+b1
- ubuntu jammy: pslib-dev 0.4.7-1
- ubuntu noble: pslib-dev 0.4.7-1build2
- ubuntu questing: pslib-dev 0.4.8-1
- ubuntu resolute: pslib-dev 0.4.8-1build1
- ubuntu stonking: pslib-dev 0.4.8-3 Β· GPL-2.0-or-later OR LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms