fs_rewind()

void  fs_rewind (FS_FILE  *p_file);

File

Called from

Code enabled by

fs_api.c

Application

FS_CFG_API_EN

Reset file position indicator of a file.

Arguments

p_file

Pointer to a file.

Returned Value

None.

Notes/Warnings

  1. fs_rewind() is equivalent to 
    (void)fs_fseek(p_file, 0, FS_SEEK_SET)
     
    except that it also clears the error indictor of the file.