![]() |
![]() |
![]() |
![]() |
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:
| 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)