---
name: "SLOG_Irec_SetAssocs"
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_SetAssocs"
---

# SLOG\_Irec\_SetAssocs(3)

Set the association array of the interval record.

## NAME

SLOG\_Irec\_SetAssocs -  Set the association array of the interval record.

## SYNOPSIS

```
int SLOG_Irec_SetAssocs(       SLOG_intvlrec_t  *intvlrec,
                         const SLOG_STREAM      *slog,
                         const SLOG_N_assocs_t   N_assocs,
                         const SLOG_assoc_t     *assocs  )
```

## MODIFIED INPUT VARIABLES

- **intvlrec**

  \- pointer to the internal Interval record to be modified.

## UNMODIFIED INPUT VARIABLES

- **slog**

  \- pointer to the SLOG\_STREAM where the Record Definition Table is  defined.

- **N\_assocs**

  \- Number of elements in the association array.  This number will be checked to determine if it coincides with what is in Record Definition Table

- **assocs**

  \- association array, array of file pointers to the associated  interval records of the specified interval record.

## MODIFIED OUTPUT VARIABLES

- **returned value**

  \- integer return status.

## USAGE NOTES ON THIS SUBROUTINE

The subroutine appends the specified Internal Interval Record with the given association array.  This subroutine is meant to be called once for each interval record written to the slogfile.

## INCLUDE FILE NEEDED

slog.h

## LOCATION
