Internationalization and localization tools


File and Path Function

char *tmpnam_r(char *result);

Internationalization (I18n) Function Overview

The tmpnam_r function is nearly identical to the tmpnam function, except that if result is a null pointer it returns a null pointer. This guarantees reentrancy because, unlike tmpnam, an internal static buffer is not used by tmpnam_r.

There is no wide-character version of the function.

I18n Issues

On ANSI UTF-16 platforms, use a conversion function to convert the return from tmpnam_r to a wide-character string.

See Pathnames for a discussion of path and filename considerations in an internationalized application.

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