ReactOS  0.4.15-dev-1070-ge1a01de
find.c
Go to the documentation of this file.
1 #include <precomp.h>
2 #include <tchar.h>
3 #include <io.h>
4 
5 // Generate _findfirst and _findnext
6 #include "findgen.c"
7 
8 /*
9  * @implemented
10  */
12 {
13  if (!FindClose((HANDLE)handle)) {
15  return -1;
16  }
17 
18  return 0;
19 }
int _findclose(intptr_t handle)
Definition: find.c:11
DWORD WINAPI GetLastError(VOID)
Definition: except.c:1044
int intptr_t
Definition: crtdefs.h:283
void _dosmaperr(unsigned long oserrcode)
Definition: errno.c:81
BOOL WINAPI FindClose(HANDLE hFindFile)
Definition: find.c:502