reactos/lib/sdk/crt/stdio/find.c
Hermès Bélusca-Maïto b819608ed8 Create a branch for console restructuration work.
svn path=/branches/condrv_restructure/; revision=63104
2014-05-02 14:13:40 +00:00

20 lines
275 B
C

#include <precomp.h>
#include <tchar.h>
#include <io.h>
// Generate _findfirst and _findnext
#include "findgen.c"
/*
* @implemented
*/
int _findclose(intptr_t handle)
{
if (!FindClose((HANDLE)handle)) {
_dosmaperr(GetLastError());
return -1;
}
return 0;
}