RPC_GSS_GET_VERSIONS(3)

πŸ’… RPC_GSS_GET_VERSIONS(3) πŸ’…

okay bestie, welcome to the Library Functions Manual corner of the terminal, where we're about to find out which versions of RPCSEC_GSS your system is out here serving. it's giving "small function, big main character energy". πŸŽ€


✨ NAME ✨

rpc_gss_get_versions β€” get supported protocol version

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <rpc/rpcsec_gss.h>

bool_t
rpc_gss_get_versions(u_int *vers_hi, u_int *vers_lo);

🌸 DESCRIPTION 🌸

so basically this little icon literally returns the highest and the lowest supported versions of the RPCSEC_GSS protocol. that's it. that's the whole job. lowkey the most unbothered function in libtirpc and we respect it for that. πŸ’–

πŸŽ€ PARAMETERS πŸŽ€

  • vers_hi β€” the value of *vers_hi gets set to the highest supported protocol version. slay.
  • vers_lo β€” the value of *vers_lo gets set to the lowest supported protocol version. also slay.
note: these are pointers, bestie, so the function is writing through them. hand it somewhere real to live. 🫢

🌈 AVAILABILITY 🌈

the rpc_gss_get_versions() function is part of libtirpc. periodt. that's where it lives, that's who claims it.

πŸ‘‘ SEE ALSO πŸ‘‘

go read those if you want the full lore, iykyk. πŸ“šβœ¨

πŸ’œ AUTHORS πŸ’œ

this manual page was written by Doug Rabson <dfr@FreeBSD.org>. absolute legend behavior, no cap. 🫑


and that's the whole vibe check, bestie. this page came from the Debian crew and it's dated January 26, 2010 β€” vintage, honestly, and still eating. πŸ’…βœ¨ go get those versions. πŸ¦‹

πŸ“¦ where this page comes from