# FS_IsDir

## Syntax

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

## Arguments

p_file | Address of the `FSFile` structure

## Return Values

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

## Description

This determines whether directory position information is currently stored in the specified file.
The directory location data is stored by the `FS_FindDir` and `FS_SeekDir` functions. It is destroyed by the
`FS_OpenFileEx`, `FS_OpenFileFast`, and `FS_CloseFile` functions.

## See Also

`FSFile
FS_FindDir
FS_SeekDir`

## Revision History

2008/10/02 Updated the See Also list.
2004/05/14 Initial version.

CONFIDENTIAL