# FS_GetArchiveOffset

## C Specification

  `#include <nitro/fs.h>`
  `static inline u32 FS_GetArchiveOffset(const FSArchive *p_arc, u32 pos);`

## Arguments

`p_arc` | Address of the `FSArchive` structure
`pos` | Position relative to the base offset

## Return Values

Specified position (offset from the archive's base).

## Description

This function returns the value that results from adding the archive's base to the specified position offset. This function is equivalent to `FS_GetArchiveBase`(`p_arc`) + `pos`.

## See Also

`FSArchive, FS_GetArchiveBase, FS_GetArchiveFAT, FS_GetArchiveFNT`

## Revision History

11/02/2004 Corrected error in paragraph format and a link.
06/30/2004 Initial version.