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

traceparser_init()

Initialize or get the state of the traceparser library

Synopsis:

#include <sys/traceparser.h>

struct traceparser_state * traceparser_init (
   struct traceparser_state * stateptr );

Library:

libtraceparser

Description:

The traceparser_init() function initializes the state of the traceparser library. To initialize the library, execute the function with the stateptr argument as null; the function returns the initialized state structure.

The traceparser_state structure is an opaque structure for use by the other SAT functions.

Returns:

A pointer to a valid initialized state structure, or NULL if an error occurred (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()