NAME
SLOG_Irec_Print - Print the content of interval record at the specified file stream in ASCII format. (SLOG_intvlrec_t's Print operator)
SYNOPSIS
int SLOG_Irec_Print( const SLOG_intvlrec_t *irec, FILE *outfd )
UNMODIFIED INPUT VARIABLES
- irec
-
- constant SLOG_intvlrec_t pointer to be printed to the specified file stream.
MODIFIED OUTPUT VARIABLES
- outfd
-
- pointer to the specified file stream.
- returned value
-
- integer return status
USAGE NOTES ON THIS SUBROUTINE
This routine is mainly used for debugging purposes.
INCLUDE FILE NEEDED
slog.h
NOTES ON SLOG RETURN STATUS CODE
There are 5 allowed SLOG returned status codes. They include 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.
There are also SLOG_TRUE and SLOG_FALSE which are sued as boolean values, in particular they are used in boolean functions which are usually named as IsXXXXX(), AreXXXXX() and HasXXXXX().