Sign in
nginx
/
nginx
/
0c331d9f666b4f9be91009b7caea457e58a80779
/
.
/
src
/
os
/
win32
/
ngx_stat.c
blob: 5b1af301481e69b5512917969cd0b4d28867cc3f [
file
]
#include
<windows.h>
#include
<ngx_stat.h>
int
ngx_stat
(
char
*
file
,
ngx_stat_t
*
sb
)
{
*
sb
=
GetFileAttributes
(
file
);
if
(*
sb
==
INVALID_FILE_ATTRIBUTES
)
{
return
-
1
;
}
return
0
;
}