---
name: "SLOG_SetFrameReservedSpace"
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_SetFrameReservedSpace"
---

# SLOG\_SetFrameReservedSpace(3)

Set the byte size of the frame's reserved space for SLOG file

## NAME

SLOG\_SetFrameReservedSpace -  Set the byte size of the frame's  reserved space for SLOG file

## SYNOPSIS

```
int SLOG_SetFrameReservedSpace( SLOG_STREAM  *slog,
                                SLOG_uint32   reserved_bytesize )
```

## UNMODIFIED INPUT VARIABLES

- **reserved\_bytesize**

  \- unsigned integer to specify the reserved byte size of the frame.

## MODIFIED INPUT VARIABLES

- **slog**

  \- pointer to SLOG\_STREAM where interval records will be stored.

## MODIFIED OUTPUT VARIABLES

- **returned value**

  \- integer return status.

## USAGE NOTES ON THIS SUBROUTINE

The routine is one of the methods provided to reserve frame space for the pseudo records in the 1st pass of the logfile.  Reservation of the frame space is only necessary if the completed interval records are arranged in increasing endtime order and there is no way that user can rearrange the call sequence of the start event to call SLOG\_Irec\_ReserveSpace().  When the completed interval records are arranged in increasing starttime order, there is no need to reserve space for the pseudo interval records, so this routine should NOT be called.  Also if user has knowledge of the start event of the interval record, like in an event based model where all start and end events are mixed and are arranged in increasing time order, one should call SLOG\_Irec\_ReserveSpace() instead of this routine to do frame space reservation.

## INCLUDE FILE NEEDED

slog\_header.h

## LOCATION
