_findclose

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at _findclose.

Closes the specified search handle and releases associated resources.

int _findclose(   
   intptr_t handle   
);  

Parameters

handle
Search handle returned by a previous call to _findfirst.

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

FunctionRequired header
_findclose<io.h>

For more compatibility information, see Compatibility in the Introduction.

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

System Calls
Filename Search Functions

Show: