# FS_IsFile

## C Specification

  `#include <nitro/fs.h>`
  `static inline BOOL FS_IsFile(volatile const FSFile *p_file);`

## Description

This determines whether file information is currently stored in the the specified file. File information is stored by the `FS_OpenFile` function and the `FS_OpenFileFast` function. It is released by the `FS_CloseFile` function.

## Arguments

`p_file` | The `FSFile` structure's address

## Return Values

If the file information is stored in the file stores it returns TRUE. Otherwise it returns FALSE.

## See Also

`FSFile, FS_OpenFile, FS_OpenFileFast, FS_CloseFile`

## Revision History

05/14/2004 Initial Version