reactos/lib/sdk/crt/stdio/find.c
Hermès Bélusca-Maïto 65ce146169 Create a branch for working on csrss and co.
svn path=/branches/ros-csrss/; revision=57561
2012-10-14 13:04:31 +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;
}