PS_LIST_RESOURCES(3)
π PS_LIST_RESOURCES(3) π
okay bestie, welcome to the Library Functions Manual corner of the universe, where we talk about one very specific little function and we talk about it thoroughly. no skimming. we eat the whole plate. π
β¨ NAME β¨
PS_list_resources β List all resources ποΈβ¨
πΈ SYNOPSIS πΈ
#include <pslib.h>
void PS_list_resources(PSDoc *psdoc)
like, that's it. that's the whole signature. no return value, no drama, just vibes and a PSDoc *psdoc handed over to do its thing. π
π¦ DESCRIPTION π¦
so what does it DO. it lists all resources, okay? every single one that has been set so far. all of them. the whole collection. π«Ά
now here's the tea β resources are a special kind of parameter. the ones you'd set with PS_set_parameter(3), yeah those. and a parameter levels up into being a resource when its value is itself a name/value pair separated by an equal sign. like, a parameter within a parameter. inception but make it postscript. π
common resources are often files (very demure, very mindful) but they can also be properties of a character β for example the left and right margin protusion. so like, character stuff. not just file stuff. both. π
ngl this function is mostly used for debugging. it's the "wait what did I actually set" function. the vibe check for your parameters. π
and the output? printed to stdout. plain and simple. no files written, no return value, just text showing up on your terminal. iconic behaviour honestly. β¨
π SEE ALSO π
like if you're already in your listing era, might as well check the whole family. iykyk. π
π AUTHOR π
this manual page was written by Uwe Steinmann uwe@steinmann.cx. ty for your service king π«‘β¨
and that's a wrap on PS_LIST_RESOURCES(3) from the Library Functions Manual, bestie!! go forth, list your resources, debug your little heart out πππ¦πΈ no cap.
π¦ 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