Open a system log for parsing
#include <slog2_parse.h> slog2_log_t slog2_open_log( const char *filename );
The slog2_open_log() function opens a system log file for parsing.
A handle for the log (which you pass to some other parsing function), or 0 if an error occurred.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |