Internationalization and localization tools


File and Path Function

FILE *freopen64(const char *filename, const char *opentype, FILE *stream);

Internationalization (I18n) Function Overview

The freopen64 function is similar to freopen. The only difference is that on 32 bit machines the stream returned is able to read beyond the 2^31 bytes limits imposed by the normal interface. It should be noted that the input stream pointed to by stream need not be opened using fopen64 or freopen64 since that existing stream will first be closed before reopening it with the opentype permissions.

I18n Issues

On ANSI UTF-16 platforms, use a conversion function to convert the wide-character strings to multibyte-character strings and then call freopen64.

See Pathnames for a discussion of path and filename considerations in an internationalized application, and File I/O, which addresses reading and writing non-ASCII text data files.

Recommended Replacements*

*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.

File and Path Functions

 

Lingoport internationalization and localization services and software