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

U_STABLE UFILE* U_EXPORT2 u_finit ( FILE *  f,
const char *  locale,
const char *  codepage 

Open a UFILE on top of an existing FILE* stream. The FILE* stream ownership remains with the caller. To have the UFILE take over ownership and responsibility for the FILE* stream, use the function u_fadopt.

fThe FILE* to which this UFILE will attach and use.
localeThe locale whose conventions will be used to format and parse output. If this parameter is NULL, the default locale will be used.
codepageThe codepage in which data will be written to and read from the file. If this paramter is NULL, data will be written and read using the default codepage for locale, unless locale is NULL, in which case the system default codepage will be used.
A new UFILE, or NULL if an error occurred. ICU 3.0

Definition at line 115 of file ufile.c.

References FALSE.

    return finit_owner(f, locale, codepage, FALSE);

Generated by  Doxygen 1.6.0   Back to index