Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE void u_frewind ( UFILE file  ) 

Rewind the file pointer to the beginning of the file.

Parameters:
file The UFILE to rewind. ICU 3.0

Definition at line 215 of file ufile.c.

{
    u_fflush(file);
    ucnv_reset(file->fConverter);
    if (file->fFile) {
        rewind(file->fFile);
        file->str.fLimit = file->fUCBuffer;
        file->str.fPos   = file->fUCBuffer;
    }
    else {
        file->str.fPos = file->str.fBuffer;
    }
}


Generated by  Doxygen 1.6.0   Back to index