# null

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/Other/Functions/CAPLfunctionFileRewind.md)

[CAPL Functions](../../CAPLfunctions.md) » [General](../CAPLGeneralStartPage.md) » [Function Overview](../CAPLfunctionsGeneralOverview.md) » fileRewind

# fileRewind

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

## Function Syntax

```
long fileRewind (dword fileHandle);
```

## Method Syntax (Dynamic)

[Method](../../../Shared/CAPL/General/ClassesAndObjects.md) Syntax

```
long File::Rewind();
```

## Description

This function resets the position pointer to the beginning of the file.

## Parameters

The integer indicates the file handle.

## Return Values

If an error occurs, the return value is 0, else 1.

## Example

See [File Functions](CAPLfunctionsExapmleFileFunctions.md)

[Class: File](../../ObjectOrientedProg/CAPLfunctionsOOPFile.md)
