Internationalization and localization tools


File and Path Operations

int utimes(const char *filename, struct timeval tvp[2]);

Internationalization (I18n) Function Overview

utimes sets the file access and modification times of the file filename. The new file access time is specified by tvp[0], and the new modification time by tvp[1]. Similar to utime, if tvp is a null pointer then the access and modification times of the file are set to the current time.

I18n Issues

There is no ANSI wide character version of this function. The parameters will have to be converted to multibyte UTF-8 characters and then the utimes function can be used.

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