Copy the content of the specified interval record to a newly allocated one and return it. (SLOG_intvlrec_t's Copy constructor)


SLOG_intvlrec_t *SLOG_Irec_Copy( const SLOG_intvlrec_t *src )

Unmodified Input Variables

src - pointer to constant SLOG_intvlrec_t to be copied.

Modified Output Variables

returned value - dest, pointer to the newly allocated SLOG_intvlrec_t, interval record data structure.

Usage Notes on this routine

This routine is similar to SLOG_Irec_Create(), except it uses the content of the given SLOG_intvlrec_t to create/copy a new one. The memory can be deallocated by SLOG_Irec_Free().

Include File Needed