# FS_UnloadArchive

## C Specification

  `#include <nitro/fs.h>`
  `BOOL FS_UnloadArchive(FSArchive *p_arc);`

## Arguments

p_arc | Address of the `FSArchive` structure

## Return Values

`TRUE` if the archive has been correctly unloaded from the file system. `FALSE` otherwise.

## Description

Unloads an archive that has been loaded in the file system. If the archive is currently processing a command, the function waits until the command ends. If there is a process-wait command running in the archive, the function is completely canceled.

## See Also

`FSArchive`, `FS_ReleaseArchiveName`, `FS_LoadArchive`

## Revision History

06/30/2004 Initial version.