Partager via


_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.

Syntax

int _findclose(   
   intptr_t handle   
);  

Parameters

handle
Search handle returned by a previous call to _findfirst.

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.

Requirements

Function Required header
_findclose <io.h>

For more compatibility information, see Compatibility in the Introduction.

.NET Framework Equivalent

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

See Also

System Calls
Filename Search Functions