close a channel to a trace buffer
#include <sys/trace.h> int qnx_trace_close( pid_t proc_pid );
The qnx_trace_close() function closes a previously opened channel to a trace buffer.
If proc_pid is zero or PROC_PID, the trace buffer on the current node is accessed. To access a trace buffer on another node, you must establish a virtual circuit to the process manager on that node and pass the vid as proc_pid.
See qnx_trace_read().
QNX
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | Yes, but modifies errno |
Thread | Yes |
errno, qnx_trace_trigger(), qnx_trace_severity(), qnx_trace_info(), qnx_trace_open(), qnx_trace_read(), Trace()