gss_check_version(3)
π gss_check_version(3) π
okay bestie, this one lives in the gss manual, section 3, and it's literally the vibe check for your library version. yes we're doing this. let's go π«Ά
β¨ NAME β¨
gss_check_version β API function (she's an API function, that's her whole job, iconic behavior honestly)
πΈ SYNOPSIS πΈ
#include <gss.h>
const char * gss_check_version(const char * req_version);
π ARGUMENTS π
const char * req_versionβ the version string you wanna compare against, OR you can just passNULLand skip the comparison entirely. your call, main character.
π¦ DESCRIPTION π¦
so basically she checks that the version of the library is at minimum the one you handed her as a string in req_version. like, "bestie are we at least this new? yes? slay." that's it. that's the function. π
π WARNING π
okay listen up, this part is important and I need you to actually read it:
This function is a GNU GSS specific extension, and is not part of the official GSS API.
so like, if you're out here expecting this to work everywhere β nope. she's homegrown, she's a special little treat, she's not standard. periodt.
β RETURN VALUE β
- the actual version string of the library β that's what you get back π
NULLif the condition is not met. so if the version ain't up to snuff, you get nothing. ghosted. π- and if you pass
NULLto this function? no check gets done at all, and only the version string is returned. lowkey the laziest mode and honestly, valid.
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the people:
- Report bugs to
<bug-gss@gnu.org>. - GNU Generic Security Service home page:
http://www.gnu.org/software/gss/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2003-2022 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
(that's the legal bit, she's giving very much "free to share, just keep the receipts" energy β¨)
π SEE ALSO π
The full documentation for gss is maintained as a Texinfo manual. If the info and gss programs are properly installed at your site, the command
info gss
should give you access to the complete manual. iykyk π
so yeah, that's gss_check_version(3) from the gss manual, version 1.0.4 β go forth and check your versions responsibly, bestie. mwah π
π¦ where this page comes from
- alpine 3.24: libgss-doc 1.0.4-r2 Β· ( LGPL-3.0-or-later OR GPL-2.0-or-later ) AND GPL-3.0-or-later
- debian bookworm: gss-man 1.0.4-1+deb12u2 Β· GPL-3.0-or-later
- debian trixie: gss-man 1.0.4-4 Β· GPL-3.0-or-later
- ubuntu noble: gss-man 1.0.4-1build2 Β· GPL-3.0-or-later
- ubuntu questing: gss-man 1.0.4-4
- ubuntu resolute: gss-man 1.0.4-4build1 Β· GPL-3.0-or-later
- ubuntu stonking: gss-man 1.0.4-5 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms