_findclose

Closes the specified search handle and releases associated resources.

int _findclose( long handle );

Function Required Header Compatibility
_findclose <io.h> Win 95, Win NT

For additional compatibility information, see Compatibility in the Introduction.

Libraries

LIBC.LIB Single thread static library, retail version
LIBCMT.LIB Multithread static library, retail version
MSVCRT.LIB Import library for MSVCRT.DLL, retail version

Return Value

If successful, _findclose returns 0. Otherwise, it returns –1 and sets errno to ENOENT, indicating that no more matching files could be found.

Parameter

handle

Search handle returned by a previous call to _findfirst

System Calls Routines_find, _wfind Function Overview