Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

traceparser()

Execute a parsing procedure with user data

Synopsis:

#include <sys/traceparser.h>

extern int traceparser ( 
   struct traceparser_state * stateptr,
   void * userdata,
   const char * filename );

Library:

libtraceparser

Description:

The traceparser() function starts the parsing procedure filename. It also executes the user defined callback functions and passes the userdata to it. The stateptr argument is an opaque structure obtained from traceparser_init().

Returns:

0
Success
-1
Failure; errno is set. See also traceparser_get_info() for further details.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread No

See also:

traceparser_get_info(), traceparser_init()