Closes a trace log.
Posix Trace Library (libposixtrace.a)
#include <trace.h>
int posix_trace_close (trid)
trace_id_t trid;
The posix_trace_close subroutine deallocates the trace log identifier indicated by the trid parameter, and all of its associated resources. If there is no valid trace log pointed to by the trid parameter, this subroutine fails.
Item | Description |
---|---|
trid | Specifies the trace stream identifier. |
Upon successful completion, this subroutine returns a value of zero. Otherwise, it returns the corresponding error number.
Item | Description |
---|---|
EINVAL | The object pointed to by the trid parameter does not correspond to a valid trace log. |
The trace.h file in the AIX® Version 7.1 Files Reference