Internationalization and localization tools


Process Control Functions

int system(const char *command);

int _wsystem(const wchar_t *command);

int _tsystem(const TCHAR *command);

Internationalization (I18n) Function Overview

These functions execute a command. They refer to the PATH environment variable to locate the program to execute.

_wsystem is the wide-character version of the function; its parameter is a wide character string. _wsystem is supported on Windows platforms only. There is no wide version on ANSI platforms.

_tsystem is the Windows-only Generic version of the function; with the _MBCS or _UNICODE compiler flags determining its mapping to either system or _wsystem.

I18n Issues

Use the appropriate version of the function as required for internationalization support, noting the following:

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

Recommended Replacements*

*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.

Process Control Functions

 

Lingoport internationalization and localization services and software