# FS_GetOverlayTotalSize

## C Specification

  `#include <nitro/fs.h>`
  `static inline u32 FS_GetOverlayTotalSize(const FSOverlayInfo *p_ovi);`

## Arguments

p_ovi | `FSOverlayInfo` structure that holds overlay module information

## Return Values

Returns the total size of the overlay module's memory.

## Description

This function acquires the total size of memory that an overlay module uses. This is the total of each text/data/bss section and padding.

## See Also

`FSOverlayInfo`, `FS_LoadOverlayInfo`, `FS_GetOverlayImageSize`, `FS_GetOverlayAddress`, `FS_LoadOverlayImage`

## Revision History

06/11/2004 Initial version.

CONFIDENTIAL