Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

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

NAME
       shtk_version_at_least --	Checks if shtk is a minimum version

LIBRARY
       shtk_import version

SYNOPSIS
       shtk_version_at_least version

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

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

EXAMPLES
	     if	shtk_version_at_least 1.5; then
		 # Use symbols that are	available in 1.5 and later.
	     else
		 # Workaround the lack of functionality	in shtk, or exit.
	     fi

SEE ALSO
       shtk(3),	shtk_version(3)

HISTORY
       shtk_version_at_least first appeared in shtk 1.5.

FreeBSD	Ports 14.quarterly     November	7, 2014	      SHTK_VERSION_AT_LEAST(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=shtk_version_at_least&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help