FS_GetArchiveOffset

Syntax

#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

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


CONFIDENTIAL