Lines Matching refs:FILE
9 * File ustdio.h
48 * Make sure that the last character is flushed when the file/string is closed.
84 * Complete the file documentation with proper doxygen formatting.
89 * \file
101 * <li>Locale specific formatting and parsing is only done with file IO.</li>
102 * <li>u_fstropen can be used to simulate file IO with strings.
110 * <li>You can specify a Transliterator while using the file IO.</li>
111 * <li>You can specify a file's codepage separately from the default
200 * When an end of file is encountered, this value can be returned.
206 /** Forward declaration of a Unicode-aware file @stable 3.0 */
222 * A UFILE is a wrapper around a FILE* that is locale and codepage aware.
226 * @param filename The name of the file to open.
232 * read from the file. If this paramter is NULL the system default codepage
244 * Open a UFILE on top of an existing FILE* stream. The FILE* stream
246 * ownership and responsibility for the FILE* stream, use the
248 * @param f The FILE* to which this UFILE will attach and use.
253 * read from the file. If this paramter is NULL, data will be written and
260 u_finit(FILE *f,
265 * Open a UFILE on top of an existing FILE* stream. The FILE* stream
268 * @param f The FILE* which this UFILE will take ownership of.
273 * read from the file. If this paramter is NULL, data will be written and
277 * the ownership of the FILE* stream remains with the caller.
281 u_fadopt(FILE *f,
288 * specific locale. The ustdio.h file functions can be used on this UFILE.
306 * @param file The UFILE to close.
311 u_fclose(UFILE *file);
333 * Tests if the UFILE is at the end of the file stream.
336 * read past the end of the file. It returns FALSE if the current position is
337 * not end of file.
347 * output is desired.) The underlying OS level file is also flushed.
350 * @param file The UFILE to flush.
354 u_fflush(UFILE *file);
357 * Rewind the file pointer to the beginning of the file.
358 * @param file The UFILE to rewind.
362 u_frewind(UFILE *file);
365 * Get the FILE* associated with a UFILE.
367 * @return A FILE*, owned by the UFILE. The FILE <EM>must not</EM> be closed.
370 U_STABLE FILE* U_EXPORT2
379 * @param file The UFILE to set.
384 u_fgetlocale(UFILE *file);
390 * @param file The UFILE to query.
395 u_fsetlocale(UFILE *file,
404 * @param file The UFILE to query.
410 u_fgetcodepage(UFILE *file);
415 * before it is written to the underlying FILE*. It it generally a bad idea to
416 * mix codepages within a file. This should only be called right
419 * and read from the file. For example <TT>"latin-1"</TT> or <TT>"ibm-943"</TT>.
422 * @param file The UFILE to set.
429 UFILE *file);
433 * Returns an alias to the converter being used for this file.
691 * @param file The UFILE to set transliteration on
706 u_fsettransliterator(UFILE *file, UFileDirection direction,