PS_OPEN_FP(3)
hey bestie, welcome to the PS_OPEN_FP(3) page β it's from the Library Functions Manual and it's giving "use an already-open file pointer as your output file" energy. β¨
π NAME π
PS_open_fp β uses an already open file pointer as the output file. periodt.
β¨ SYNOPSIS β¨
#include <pslib.h>
int PS_open_fp(PSDoc *psdoc, FILE *fp)
π¦ DESCRIPTION π¦
okay so PS_open_fp takes the file pointer you pass in and uses it as an output file. that's the whole vibe. π
The file will not be closed by PS_close(3). so don't go expecting PS_close(3) to clean it up β it literally won't, no cap.
πΈ RETURN VALUE πΈ
Returns -1 in case of an error and 0 otherwise. fr fr, that's it.
π SEE ALSO π
π AUTHOR π
This manual page was written by Uwe Steinmann uwe@steinmann.cx.
and the footer? it's literally just PS_OPEN_FP(3) again β no source/version/date drama in this one, just the manual tag doing its little encore. stay iconic, bestie πβ¨
π¦ 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