Share this page

# lrt_tpterm

Client/Server Session Functions

Removes a client from a System/T application.

int lrt_tpterm( );

The lrt_tpterm function removes a client from a System/T application. If the client is in transaction mode, then the transaction is rolled back.

## Return Values

If the function fails, it returns -1 and sets tperrno to indicate the error condition.

## Parameterization

Parameterization is not applicable to this function.

## Example

In the following example, the lrt_tpterm statement terminated the application before recording finished.

Copy code

    /* free the buffer, wait 4 seconds and terminate the application*/
    lrt_tpfree(data_0);
    lr_think_time(4);
    lrt_tpterm();

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: