0001 TPURCODE(3)
0002 ===========
0003 :doctype: manpage
0004
0005 NAME
0006 ----
0007 tpurcode - Read the value of user specific return code provided by XATMI server
0008
0009
0010 SYNOPSIS
0011 --------
0012 #include <atmi.h>
0013
0014 #define tpurcode (*_exget_tpurcode_addr())
0015
0016 For XATMI client link with '-latmiclt -latmi -lubf -lnstd -lpthread -lrt -lm'
0017
0018 For XATMI server link with '-latmisrv|-latmisrvnomain|-latmisrvinteg -latmi -lubf -lnstd -lpthread -lrt -lm'
0019
0020 DESCRIPTION
0021 -----------
0022 Macro returns the 'rcode' value which is returned by XATMI server. The value is
0023 saved in global variable after *tpcall(3)* performed. The 'rcode' is available
0024 (i.e. reset to new value) only if server processes did generate the response.
0025 I.e. in case of *TPENOENT* error, the tpurcode() will return previous value.
0026
0027 BUGS
0028 ----
0029 Report bugs to support@mavimax.com
0030
0031 SEE ALSO
0032 --------
0033 *tpreturn(3)* *tpcall(3)*
0034
0035 COPYING
0036 -------
0037 (C) Mavimax, Ltd
0038