TPTOUTGET(3)


Table of Contents

1. NAME
2. SYNOPSIS
3. DESCRIPTION
4. RETURN VALUE
5. EXAMPLE
6. BUGS
7. SEE ALSO
8. COPYING

1. NAME

tptoutget - Get current XATMI timeout setting

2. SYNOPSIS

#include <atmi.h>

int tptoutget(void);

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

3. DESCRIPTION

Function returns currently configured number of seconds used by ATMI library for timeout control when performing timed service calls and waiting for reply. Note that correct value is only returned when there was tpinit(3) issued (which pulls in common environment settings). For server processes that is already done automatically - at stage tpsrvinit().

4. RETURN VALUE

Returns number of currently configure seconds for ATMI library to use for timed send and receive operations (like tpcall(), tpgetrply(), etc.).

5. EXAMPLE

See atmitest/test051_settout/atmiclt51.c for sample code.

6. BUGS

Report bugs to support@mavimax.com

7. SEE ALSO

tptoutset(3) tpinit(3) ex_env(5)

8. COPYING

© Mavimax, Ltd