1
0
Fork 0
mirror of https://github.com/reactos/reactos.git synced 2025-05-18 16:51:18 +00:00
reactos/sdk/lib/crt/stdio/find.c

19 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;
}