# FS_IsDir

## C Specification

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

## Description

This determines whether directory position information is currently stored in the specified file.
Directory position information is stored by the `FS_FindDir` function and the `FS_SeekDir` function.
It is destroyed by the `FS_OpenFile` function, the `FS_OpenFileFast` function, and the `FS_CloseFile` function.

## Arguments

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

## Return Values

If the file stores directory position information, it returns TRUE. Otherwise it returns FALSE.

## See Also

`FSFile, FS_FindDir, FS_SeekDir`

## Revision History

05/14/2004 Initial Version