std.cfg and windows.cfg: Improved support for localtime functions.

This commit is contained in:
orbitcowboy 2017-04-19 09:27:24 +02:00
parent 2b80f17714
commit dd0158ee63
2 changed files with 25 additions and 0 deletions

View File

@ -2018,6 +2018,18 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- struct tm *localtime_s(const time_t *restrict time, struct tm *restrict result) -->
<function name="localtime_s,std::localtime_s">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
</function>
<!-- double log(double x); --> <!-- double log(double x); -->
<!-- float logf(float x); --> <!-- float logf(float x); -->
<!-- long double logl(long double x);--> <!-- long double logl(long double x);-->

View File

@ -3541,4 +3541,17 @@ HFONT CreateFont(
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- errno_t _localtime32_s( struct tm* _tm, const time32_t *time);
errno_t _localtime64_s( struct tm* _tm, const _time64_t *time); -->
<function name="_localtime32_s,_localtime64_s">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
</function>
</def> </def>