posix_trace_eventid_equal Subroutine
Purpose
Compares two trace event type identifiers.
Library
Posix Trace Library (libposixtrace.a)
Syntax
Description
The posix_trace_eventid_equal compares the event1 and event2 trace event type identifiers. If the event1 and event2 identifiers are equal (from the same trace stream, the same trace log or from different trace streams), the return value is non-zero; otherwise, a value of zero is returned.
Parameters
Item | Description |
---|---|
trid | Specifies the trace stream identifier. |
event, event1, event2 | Specifies the trace event identifiers. |
Return Values
The posix_trace_eventid_equal subroutine returns a non-zero value if the value of the event1 and event2 parameters are equal; otherwise, a value of zero is returned.
Error
This subroutine returns no error code.
File
The trace.h file in Files Reference