---
name: "SLOG_Irec_Create"
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_Create"
---

# 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
