home | help
SHTK_VERSION_AT_MOST(3)      Library Functions Manual	 SHTK_VERSION_AT_MOST(3)

NAME
     shtk_version_at_most -- Checks if shtk is a maximum version

LIBRARY
     shtk_import version

SYNOPSIS
     shtk_version_at_most version

DESCRIPTION
     The  shtk_version_at_most function checks if the version of the in-use shtk
     is, at most, the version given in version.

RETURN VALUES
     shtk_version_at_most returns 0 (true) if the in-use shtk is version version
     or earlier; 1 (false) otherwise.

EXAMPLES
	   if shtk_version_at_most 1.10; then
	       # Maybe exit if we know we do not work well with 1.10 and above.
	   fi

SEE ALSO
     shtk(3), shtk_version(3)

HISTORY
     shtk_version_at_most first appeared in shtk 1.5.

FreeBSD ports 15.quarterly	November 7, 2014	 SHTK_VERSION_AT_MOST(3)

home | help