Internationalization and localization tools


File and Path Function

int _findnext(intptr_t handle, struct __finddata_t* fileinfo);

int _wfindnext(intptr_t handle, struct __finddata_t* fileinfo);

int _tfindnext(intptr_t handle, struct __tfinddata_t* fileinfo);

int _findnext64(intptr_t handle, struct __finddata64_t* fileinfo);

int _wfindnext64(intptr_t handle, struct __finddata64_t* fileinfo);

int _tfindnext64(intptr_t handle, struct __tfinddata64_t* fileinfo);

int _findnexti64(intptr_t handle, struct __finddatai64_t* fileinfo);

int _wfindnexti64(intptr_t handle, struct __finddatai64_t* fileinfo);

int _tfindnexti64(intptr_t handle, struct __tfinddatai64_t* fileinfo);

Internationalization (I18n) Function Overview

The _findnext function searches for the next instance of a filename that matches the filespec specified in a previous call to _findfirst. If found, it provides file information about the file and returns 0; otherwise, it returns
-1 and sets the global error, errno.

After finishing the calls to this function, _findclose must be called to free up the resources used by the calls to _findfirst and _findnext.

_wfindnext is the wide-character version of _findnext, using a wide-character fileinfo argument.

_findnext64 and _findnexti64, and their wide-character variations, support different fileinfo structures.

_tfindnext, _tfindnext64, and _tfindnexti64 are the Generic versions; with the _MBCS or _UNICODE compiler flags determining their mapping to the corresponding multibyte or wide-character versions.

See the MSDN Library for more information.

I18n Issues

Use the appropriate version of the function as required for internationalization support.

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