Skip to content

Commit 93816a6

Browse files
committed
windows.cfg: Improved support for stat() and fstat() functions.
1 parent 3c8f5b8 commit 93816a6

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

cfg/windows.cfg

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2163,7 +2163,7 @@ HFONT CreateFont(
21632163
int _wstati64(const wchar_t *path, struct _stati64 *buffer);
21642164
int _wstat32i64(const wchar_t *path, struct _stat32i64 *buffer);
21652165
int _wstat64i32(const wchar_t *path, struct _stat64i32 *buffer); -->
2166-
<function name="_stat,_stat32,_stat64,_stati64,_stat32i64,_stat64i32,_wstat,_wstat32,_wstat64,_wstati64,_wstat32i64,_wstat64i32">
2166+
<function name="_stat,_tstat,_stat32,_stat64,_tstat64,_stati64,_tstati64,_stat32i64,_tstat32i64,_stat64i32,_tstat64i32,_wstat,_wstat32,_wstat64,_wstati64,_wstat32i64,_wstat64i32">
21672167
<noreturn>false</noreturn>
21682168
<leak-ignore/>
21692169
<arg nr="1">
@@ -2174,6 +2174,22 @@ HFONT CreateFont(
21742174
<not-null/>
21752175
</arg>
21762176
</function>
2177+
<!-- int _fstat(int fd, struct _stat *buffer);
2178+
int _fstat32(int fd, struct __stat32 *buffer);
2179+
int _fstat64(int fd, struct __stat64 *buffer);
2180+
int _fstati64(int fd, struct _stati64 *buffer);
2181+
int _fstat32i64(int fd, struct _stat32i64 *buffer);
2182+
int _fstat64i32(int fd, struct _stat64i32 *buffer);-->
2183+
<function name="_fstat,_fstat32,_fstat64,_fstati64,_fstat32i64,_fstat64i32">
2184+
<noreturn>false</noreturn>
2185+
<leak-ignore/>
2186+
<arg nr="1">
2187+
<not-uninit/>
2188+
</arg>
2189+
<arg nr="2">
2190+
<not-null/>
2191+
</arg>
2192+
</function>
21772193
<!-- int _fseeki64(FILE *stream, __int64 offset, int origin); -->
21782194
<function name="_fseeki64">
21792195
<noreturn>false</noreturn>

0 commit comments

Comments
 (0)