slog2_open_log()
QNX SDP8.0C Library ReferenceAPIDeveloper
Open a system log for parsing
Synopsis:
#include <slog2_parse.h>
slog2_log_t slog2_open_log( const char *filename );
Arguments:
- filename
- The name of the log file that you want to open.
Library:
libslog2parse
Use the -l slog2parse option to qcc to link against this library.
Description:
The slog2_open_log() function opens a system log file for parsing.
Returns:
A handle for the log (which you pass to some other parsing function), or 0 if an error occurred.
Examples:
Classification:
Safety: | |
---|---|
Cancellation point | No |
Signal handler | No |
Thread | Yes |
Page updated: