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

FreeBSD Manual Pages

  
 
  

home | help
get_key(3)			 Arcan Lua API			    get_key(3)

NAME
       get_key - Retrieve a key/value pair from	the database.

SYNOPSIS
       string or nil
       get_key(	key, opttgt, optcfg )

DESCRIPTION
       Return  a  single  value	 associated  with  a key  from either the appl
       global space, or	from an	optional target	or optional  target/configura-
       tion.

EXAMPLE
       function	get_key0()
	     local test	= store_key("test", "result");
	     local value = get_key("test");
	     if	(value == "result") then
		   print("OK");
	     end
       end

SEE ALSO:
       store_key(3)

database			  April	2025			    get_key(3)

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

home | help