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

FreeBSD Manual Pages

  
 
  

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

NAME
     shtk_config_has -- Checks if a configuration variable is set

LIBRARY
     shtk_import config

SYNOPSIS
     shtk_config_has var_name

DESCRIPTION
     The  shtk_config_has function checks if the configuration variable var_name
     has been previously set by a call to shtk_config_set(3) within  the  script
     or by the user in the configuration file.

     Note  that  shtk_config_has properly distinguishes the case between a vari-
     able that has never been defined and a variable that has  been  defined  to
     the empty value.

RETURN VALUES
     Returns 0 (true) if var_name has been defined; 1 (false) otherwise.

SEE ALSO
     shtk(3), shtk_config(3)

HISTORY
     shtk_config_has first appeared in shtk 1.0.

FreeBSD ports 15.quarterly	November 6, 2014	      SHTK_CONFIG_HAS(3)

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

home | help