HP 9000 Networking XTI Programmer's Guide
41
API Tracing Using Environment Variables
Environment Variable Names
Environment Variable Names
The names of the available XTI environment variables are as follows:
• XTI_TRACE
• XTI_TRACE_FILE
• XTI_TRACE_MAX_UDATA
The effect of these environment variables are shown as follows.
XTI_TRACE
This value indicates the trace level to be used for each API call. It is actually
a set of flags, defined in the file /usr/include/api_trace.h.
Default = 0 (trace_off).
You may set this value in one of two ways:
1 It may be treated as an integer value and may be set using either decimal or
hexadecimal notation.
XTI_TRACE=0xff or XTI_TRACE=255
2 It may be treated as a set of ASCII flags. The following standard flags are
defined.
i = input parameters
o = output parameters
x = external procedure entry exit
e = error tracing *
n = internal tracing **
* not supported by XTI
** minimal support by XTI
XTI_TRACE_FILE
The name of the file that is to receive tracing results.
Default = stderr.