Internationalization and localization tools


File and Path Function

int creat64(const char *filename, mode_t mode);

Internationalization (I18n) Function Overview

This function is similar to creat. It returns a file descriptor which can be used to access the file named by filename. The only difference is that on 32 bit systems the file is opened in the large file mode; i.e. file length and file offsets can exceed 31 bits.

I18n Issues

creat64 is considered obsolete and should be replaced with open64. Otherwise, on ANSI UTF-16 platforms, use a conversion function to convert the wide-character string to a multibyte-character string and then call creat64.

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