oath_check_version(3)

πŸ’– oath_check_version(3) πŸ’–

okay so this is the liboath manual page for oath_check_version β€” yes bestie, we’re checking the OATH library version. Slay.

✨ NAME ✨

oath_check_version β€” API function. That’s the whole name situation, periodt.

🌸 SYNOPSIS 🌸

#include <oath.h>

const char * oath_check_version(const char * req_version);

πŸŽ€ ARGUMENTS πŸŽ€

  • const char * req_version β€” the version string to compare with, or NULL. That’s it, that’s the argument.

πŸ¦‹ DESCRIPTION πŸ¦‹

Check OATH library version. Literally its whole job.

See OATH_VERSION for a suitable req_version string. If you need the right string to pass in, that’s the one to peep, iykyk.

This function is one of few in the library that can be used without a successful call to oath_init(). No successful oath_init() required β€” iconic behavior, honestly.

πŸ‘‘ RETURN VALUE πŸ‘‘

It checks that the version of the library is at minimum the one given as a string in req_version, and returns the actual version string of the library. If the condition is not met, it returns NULL.

If NULL is passed to this function, no check is done and only the version string is returned. That’s the rule, no cap.

πŸ› REPORTING BUGS πŸ›

Report bugs to <oath-toolkit-help@nongnu.org>.

Copyright Β© 2009-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.


πŸ’– That’s the liboath 2.6.15 man page for oath_check_version(3), bestie. The original footer has no date listed, so we’re not inventing one β€” just source/version liboath 2.6.15 and page oath_check_version(3). Periodt. 🫢

πŸ“¦ where this page comes from