slog2_open_log()

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:

See slog2_parse_static_buffer().

Classification:

QNX Neutrino

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