std.cfg: Improved support for complex.h functions and improved documentation.

This commit is contained in:
orbitcowboy 2015-01-15 15:25:50 +01:00
parent 4222333785
commit 4b71e5f9cb
1 changed files with 135 additions and 0 deletions

View File

@ -463,6 +463,7 @@
<not-uninit/>
</arg>
</function>
<!-- double atanh(double x); -->
<function name="atanh">
<use-retval/>
<pure/>
@ -472,6 +473,7 @@
<not-uninit/>
</arg>
</function>
<!-- float atanhf(float x); -->
<function name="atanhf">
<use-retval/>
<pure/>
@ -481,6 +483,7 @@
<not-uninit/>
</arg>
</function>
<!-- long double atanhl(long double x); -->
<function name="atanhl">
<use-retval/>
<pure/>
@ -490,6 +493,7 @@
<not-uninit/>
</arg>
</function>
<!-- double atan2(double x, double y); -->
<function name="atan2">
<use-retval/>
<pure/>
@ -502,6 +506,7 @@
<not-uninit/>
</arg>
</function>
<!-- float atan2f(float x, float y); -->
<function name="atan2f">
<use-retval/>
<pure/>
@ -514,6 +519,7 @@
<not-uninit/>
</arg>
</function>
<!-- long double atan2l(long double x, long double y); -->
<function name="atan2l">
<use-retval/>
<pure/>
@ -526,6 +532,7 @@
<not-uninit/>
</arg>
</function>
<!-- int atexit(void (*func)(void)); -->
<function name="atexit">
<pure/>
<noreturn>false</noreturn>
@ -534,6 +541,7 @@
<not-null/>
</arg>
</function>
<!-- double atof(const char *s); -->
<function name="atof">
<use-retval/>
<pure/>
@ -543,6 +551,7 @@
<not-uninit/>
</arg>
</function>
<!-- int atoi(const char *s); -->
<function name="atoi">
<use-retval/>
<pure/>
@ -552,6 +561,7 @@
<not-uninit/>
</arg>
</function>
<!-- long int atol(const char *s); -->
<function name="atol">
<use-retval/>
<pure/>
@ -561,6 +571,7 @@
<not-uninit/>
</arg>
</function>
<!-- long long int atoll(const char *s); -->
<function name="atoll">
<use-retval/>
<pure/>
@ -570,6 +581,7 @@
<not-uninit/>
</arg>
</function>
<!-- void * calloc (size_t nitems, size_t size); -->
<function name="calloc">
<use-retval/>
<noreturn>false</noreturn>
@ -810,6 +822,36 @@
<not-uninit/>
</arg>
</function>
<!-- double carg(double complex z);-->
<function name="carg">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- float cargf(float complex z);-->
<function name="cargf">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- long double cargl(long double complex z);-->
<function name="cargl">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="erfcf">
<use-retval/>
<pure/>
@ -1560,8 +1602,10 @@
<not-uninit/>
</arg>
</function>
<!-- wint_t btowc(int c); -->
<function name="btowc">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
@ -1998,6 +2042,96 @@
<not-uninit/>
</arg>
</function>
<!-- double complex cabs( double complex z ); -->
<function name="cabs">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- float complex cabsf( float complex z ); -->
<function name="cabsf">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- long double complex cabsl( long double complex z ); -->
<function name="cabs">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- double complex cacos( double complex z ); -->
<function name="cacos">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- float complex cacosf( float complex z ); -->
<function name="cacosf">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- long double complex cacosl( long double complex z ); -->
<function name="cacosl">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- double complex cacosh( double complex z ); -->
<function name="cacos">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- float complex cacoshf( float complex z ); -->
<function name="cacoshf">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- long double complex cacoshl( long double complex z ); -->
<function name="cacoshl">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="labs">
<use-retval/>
<pure/>
@ -2931,6 +3065,7 @@
<not-uninit/>
</arg>
</function>
<!-- void* bsearch (const void* key, const void* base, size_t num, size_t size, int (*compar)(const void*,const void*));-->
<function name="bsearch">
<use-retval/>
<pure/>