# FS_FindArchive

## C Specification

      #include <nitro/fs.h>

      FSArchive* FS_FindArchive(
          const char  *name,
          int         name_len);

## Description

Searches to determine whether or not an archive with the specified name has been registered in the file system.

If an archive with the specified name already exists, the pointer to that archive is returned.
The pointer is returned even if the archive has not been loaded.

## Arguments

`name` | Pointer to the character string storing the search target name
`name_len` | The string length of `name`

## Return Values

If there is already an archive registered with the specified name, the function returns the pointer to that archive. Otherwise, it returns `NULL`.

## See Also

`FSArchive`, FS_ARCHIVE_NAME_LEN_MAX, FS_RegisterArchiveName, FS_LoadArchive

## Revision History

07/12/2004 Initial Version