![]() |
![]() |
![]() |
![]() |
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:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
traceparser_get_info(), traceparser_init()
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)