共用方式為


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

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

Reference

System Calls

_find, _wfind Functions