SLOG_OpenInputStream
Returns Input SLOG_STREAM associcated with the given filename.
Synopsis
SLOG_STREAM *SLOG_OpenInputStream( const char *filename )
Unmodified Input Variables
- filename - constant char pointer to the filename.
Modified Output Variables
- returned value - pointer to newly allocated SLOG_STREAM.
it is NULL when the routine encounters error.
Include File Needed
slog.h
Notes on SLOG return status code
There are 3 allowed SLOG returned status codes. They are
SLOG_SUCCESS, SLOG_FAIL and SLOG_EOF. Their actual values
are defined in slog.h
SLOG_SUCCESS is returned when no error is encountered.
SLOG_FAIL is returned when error is encounted.
SLOG_EOF is returned when End of file is encounted.
Location:../src/slog_irec_read.c