---
name: "SLOG_Irec_Copy"
section: "3"
platform: "linux"
package: "mpi-doc"
version: "1.2.5.3-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/SLOG_Irec_Copy"
---

# SLOG\_Irec\_Copy(3)

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

## NAME

SLOG\_Irec\_Copy -  Copy the content of the specified interval record  to a newly allocated one and return it.   (SLOG\_intvlrec\_t's Copy constructor)

## SYNOPSIS

```
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

slog.h

## LOCATION
