Internationalization and localization tools


File and Path Function

char *getwd(char *buffer);

Internationalization (I18n) Function Overview

The getwd function is similar to getcwd, but has no way to specify the size of the buffer. The buffer argument should be a pointer to an array at least PATH_MAX bytes long. There is no wide-character version of the function.

I18n Issues

On ANSI UTF-16 platforms, use a conversion function to convert the the return from the call to getwd 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