# FS_OpenFile

## Syntax

  `#include <nitro/fs.h>`
  `BOOL FS_OpenFile(FSFile *file, const char *path);`

## Arguments

file | Address of the `FSFile` structure
path | File's path name

## Return Values

Returns TRUE if the file opens properly; FALSE otherwise.

## Description

This function is the same as FS_OpenFileEx(file, path, FS_FILEMODE_R.
It was created for the sake of compatibility, but the use of FS_OpenFileEx is now recommended.

## See Also

`FS_OpenFileEx`

## Revision History

2007/09/18 Changed the description so that use of `FS_OpenFileEx` is recommended.
2004/09/24 Added the description in the Caution section regarding the conditions for calling this function.
2004/04/02 Revised description due to elimination of path length restriction.
2004/04/01 Initial version.

CONFIDENTIAL