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

U_STABLE void U_EXPORT2 u_fflush ( UFILE file  ) 

Flush output of a UFILE. Implies a flush of converter/transliterator state. (That is, a logical break is made in the output stream - for example if a different type of output is desired.) The underlying OS level file is also flushed. Note that for a stateful encoding, the converter may write additional bytes to return the stream to default state.

file The UFILE to flush. ICU 3.0

Definition at line 201 of file ufile.c.

    if (file->fFile) {
    else if (file->str.fPos < file->str.fLimit) {
        *(file->str.fPos++) = 0;
    /* TODO: flush input */

Generated by  Doxygen 1.6.0   Back to index