Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.39 KB

findclose.md

File metadata and controls

49 lines (35 loc) · 1.39 KB
description title ms.date api_name api_location api_type topic_type f1_keywords helpviewer_keywords ms.assetid
Learn more about: _findclose
_findclose
4/2/2020
_findclose
_o__findclose
msvcrt.dll
msvcr80.dll
msvcr90.dll
msvcr100.dll
msvcr100_clr0400.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr120_clr0400.dll
ucrtbase.dll
api-ms-win-crt-filesystem-l1-1-0.dll
DLLExport
apiref
_findclose
findclose
_findclose function
findclose function
9216c573-0878-444c-b5d7-cdaf16fb9163

_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