# FS_End

## Syntax

  `#include <nitro/fs.h>`
  `void FS_End( void );`

## Arguments

None.

## Return Values

None.

## Description

This function ends the FS library. The function performs these processes:

- Calls the `FS_UnloadArchive` and `FS_ReleaseArchiveName` functions to release all loaded archives.
- Restores the FS library to the state it was in before the `FS_Init` function was called.

## Note

The internal processes of this function do not take into consideration any details other than the ending of the FS library. Thus, if there is an archive that requires special ending processing (such as the need to release memory allocated by `FS_LoadTable` and `FS_LoadArchiveTables`), then you will need to do these independently before calling this function.

## See Also

`FS_Init FS_IsAvailable FS_ReleaseArchiveName FS_UnloadArchive`

## Revision History

2005/05/30 Initial version.

CONFIDENTIAL