Reference

SLOG_Irec_Create(3)

Create a bare minimal interval record data structure without any of its components set. (SLOG_intvlrec_t's constructor)

NAME

SLOG_Irec_Create - Create a bare minimal interval record data structure without any of its components set. (SLOG_intvlrec_t's constructor)

SYNOPSIS

SLOG_intvlrec_t *SLOG_Irec_Create( void )

MODIFIED OUTPUT VARIABLES

returned value

- pointer to newly allocated SLOG_intvlrec_t, interval record data structure.

USAGE NOTES ON THIS ROUTINE

The memory can be deallocated by SLOG_Irec_Free().

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().

LOCATION