User Tools

Site Tools


Sidebar

Table Of Contents

endurox:v7.5.x:api:xatmi:tpurcode.3

tpurcode

Name

tpurcode — Read the value of user specific return code provided by XATMI server

Synopsis

#include <atmi.h>

#define tpurcode (*_exget_tpurcode_addr())

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

DESCRIPTION

Macro returns the rcode value which is returned by XATMI server. The value is saved in global variable after tpcall(3) performed. The rcode is available (i.e. reset to new value) only if server processes did generate the response. I.e. in case of TPENOENT error, the tpurcode() will return previous value.

BUGS

Report bugs to support@mavimax.com

COPYING

© Mavimax, Ltd