0001 TUXGETENV(3)
0002 ===========
0003 :doctype: manpage
0004
0005
0006 NAME
0007 ----
0008 tuxgetenv - Get transaction level
0009
0010
0011 SYNOPSIS
0012 --------
0013 #include <atmi.h>
0014
0015 char *tuxgetenv(char *envname)
0016
0017
0018 For XATMI client link with '-latmiclt -latmi -lubf -lnstd -lpthread -lrt -lm'
0019
0020 For XATMI server link with '-latmisrv|-latmisrvnomain|-latmisrvinteg -latmi -lubf -lnstd -lpthread -lrt -lm'
0021
0022 DESCRIPTION
0023 -----------
0024 Get environment variable. Function is pure wrapper for getenv() system function,
0025 as Enduro/X loads environment variables in standard way for the processes on
0026 Unix platform. The 'envname' is environment variable name.
0027
0028 RETURN VALUE
0029 ------------
0030 In case if variable is present, then *value* is returned, if variable is not
0031 found, then *NULL* is returned.
0032
0033
0034 ERRORS
0035 ------
0036 Function does not return any errors.
0037
0038 EXAMPLE
0039 -------
0040 See *atmitest/test055_envs/atmisv55.c* for sample code.
0041
0042 BUGS
0043 ----
0044 Report bugs to support@mavimax.com
0045
0046 SEE ALSO
0047 --------
0048 *ex_env(5)* *tpinit(3)*
0049
0050 COPYING
0051 -------
0052 (C) Mavimax, Ltd
0053