# FS_SeekFileToBegin

## C Specification

  `#include <nitro/fs.h>`
  `inline BOOL FS_SeekFileToBegin( FSFile *p_file );`

## Arguments

p_file | Address of the `FSFile` structure

## Return Values

If the file pointer is correctly moved, it returns TRUE. Otherwise it returns FALSE.

## Description

This moves the file pointer to the beginning of the file. This function is equivalent to `FS_SeekFile`(`p_file`, `0`, `FS_SEEK_SET`).

## See Also

`FSFile, FSSeekFileMode, FS_SeekFile, FS_SeekFileToEnd`

## Revision History

04/01/2004 Initial version.