stringprep_check_version(3)

✨ stringprep_check_version ✨

okay so bestie, we're in libidn land and this is the stringprep_check_version(3) page πŸ’– it's the little vibe-check function that makes sure the library you're actually running is at least as new as the one you asked for. no cap.


🌸 NAME 🌸

stringprep_check_version β€” literally the "API function" that checks your version, periodt πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

#include <stringprep.h>

const char * stringprep_check_version(const char * req_version);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • const char * req_version β€” the version number you're requiring, minimum-style. or just NULL if you're feeling chill, no pressure 🫢

πŸ’… DESCRIPTION πŸ’…

so the whole plot: this function checks that the version of the library is at minimum the requested one, and then it returns the version string. if that condition is not satisfied? it returns NULL. it's giving bouncer at the club, honestly πŸšͺ✨

and if you pass a NULL to this function, no check is done at all β€” it just simply returns the version string. like okay, low maintenance, we respect it πŸ™ˆ

See STRINGPREP_VERSION for a suitable req_version string πŸ‘€ that's your girl right there.

Return value: the version string of the run-time library πŸ’– or NULL if the run-time library does not meet the required version number 😭 (yes, that's a real rejection, it happens).


😀 REPORTING BUGS 😀

found a bug? not the vibe, but okay, spill it:


Copyright Β© 2002-2026 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. iconic, honestly 🫢


🌈 SEE ALSO 🌈

The full documentation for libidn is maintained as a Texinfo manual πŸ“š If the info and libidn programs are properly installed at your site, the command

info libidn

should give you access to the complete manual. main character documentation energy, fr fr.

As an alternative you may obtain the manual from:

https://www.gnu.org/software/libidn/manual/

and that's the whole page, bestie!! this was libidn version 1.44 of the stringprep_check_version(3) manual β€” go forth and version-check responsibly πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from