Muokkaa

Jaa


_findclose

Closes the specified search handle and releases associated resources.

Syntax

int _findclose(
   intptr_t handle
);

Parameters

handle
The 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.

Remarks

By default, this function's global state is scoped to the application. To change this behavior, see Global state in the CRT.

Requirements

Function Required header
_findclose <io.h>

For more compatibility information, see Compatibility.

See also

System calls
Filename search functions