PS_GET_MAJORVERSION(3)
π PS_get_majorversion β bestie edition π
okay so this is a page from the Library Functions Manual, section 3 (that's the "C library functions" section, iykyk), and it's about one (1) tiny little function that just... tells you a number. iconic behavior honestly. let's get into it π¦
β¨ NAME β¨
PS_get_majorversion β she returns the major version number of the PostScript library. that's it. that's the whole job. and she does it flawlessly π
πΈ SYNOPSIS πΈ
#include <pslib.h>
int PS_get_majorversion()
no arguments, no drama, just vibes. include the header and call her, periodt β¨
π DESCRIPTION π
so like, this function exists purely so you can retrieve the major version number of the PostScript library. that's the whole thing bestie!! you call it, it hands you the major version. main character energy from a function that takes zero parameters and zero notes π«Ά
if you're out here version-checking, being a responsible little dev, making sure your PostScript library is the one you think it is β this is your girl. no cap π
β RETURN VALUE β
she returns the major version as an integer. an int. that's the tea π
π₯ SEE ALSO π₯
PS_get_minorversion(3)β the middle child, the minor version π«PS_get_subminorversion(3)β the baby of the trio, the subminor version π
(and yes, you should lowkey go read those too, they're the same vibe but for the other two numbers. trio goals fr fr π)
π AUTHOR π
This manual page was written by Uwe Steinmann uwe@steinmann.cx. thank you for your service king, we appreciate you πβ¨
and that's the whole page!! no notes, no bugs, no warnings, just a lil function doing her lil thing π
so like, the manual name is Library Functions Manual and the page itself is PS_GET_MAJORVERSION(3) β that's the header and the footer, same energy top and bottom, symmetrical slay π
β¨ bye bestie, go check your version numbers π¦π
π¦ 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