Internationalization and localization tools


File and Path Function

int lstat(const char *filename, struct stat *buf);

Internationalization (I18n) Function Overview

The lstat function is like stat, except that it does not follow symbolic links. If filename is the name of a symbolic link, lstat returns information about the link itself; otherwise lstat works like stat. lstat returns 0 on success and -1 on failure, setting the global errno variable with the error value.

I18n Issues

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

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