tuxgetenv − Get transaction level
#include <atmi.h>
char *tuxgetenv(char *envname)
For XATMI client link with −latmiclt −latmi −lubf −lnstd −lpthread −lrt −lm
For XATMI server link with −latmisrv|−latmisrvnomain|−latmisrvinteg −latmi −lubf −lnstd −lpthread −lrt −lm
Get environment variable. Function is pure wrapper for getenv() system function, as Enduro/X loads environment variables in standard way for the processes on Unix platform. The envname is environment variable name.
In case if variable is present, then value is returned, if variable is not found, then NULL is returned.
Function does not return any errors.
See atmitest/test055_envs/atmisv55.c for sample code.
Report bugs to support@mavimax.com
© Mavimax, Ltd