std.cfg: Improved documentation and added support for more functions.
This commit is contained in:
parent
8dab677eac
commit
4294e7a2d9
72
cfg/std.cfg
72
cfg/std.cfg
|
@ -2966,6 +2966,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int rand(void); -->
|
||||||
<function name="rand">
|
<function name="rand">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
@ -3214,6 +3215,39 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- double nan(const char *tagp); -->
|
||||||
|
<function name="nan">
|
||||||
|
<pure/>
|
||||||
|
<use-retval/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- float nanf(const char *tagp); -->
|
||||||
|
<function name="nanf">
|
||||||
|
<pure/>
|
||||||
|
<use-retval/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- long double nanl(const char *tagp); -->
|
||||||
|
<function name="nanl">
|
||||||
|
<pure/>
|
||||||
|
<use-retval/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
<!-- int isnan(double x); -->
|
<!-- int isnan(double x); -->
|
||||||
<function name="isnan">
|
<function name="isnan">
|
||||||
<pure/>
|
<pure/>
|
||||||
|
@ -3367,6 +3401,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- double nearbyint(double x); -->
|
||||||
<function name="nearbyint">
|
<function name="nearbyint">
|
||||||
<pure/>
|
<pure/>
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
@ -3376,6 +3411,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- float nearbyintf(float x); -->
|
||||||
<function name="nearbyintf">
|
<function name="nearbyintf">
|
||||||
<pure/>
|
<pure/>
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
@ -3385,6 +3421,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- long double nearbyintl(long double x); -->
|
||||||
<function name="nearbyintl">
|
<function name="nearbyintl">
|
||||||
<pure/>
|
<pure/>
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
@ -3394,6 +3431,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- double nextafter(double x, double y); -->
|
||||||
<function name="nextafter">
|
<function name="nextafter">
|
||||||
<pure/>
|
<pure/>
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
@ -3406,6 +3444,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- float nextafterf(float x, float y); -->
|
||||||
<function name="nextafterf">
|
<function name="nextafterf">
|
||||||
<pure/>
|
<pure/>
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
@ -3418,6 +3457,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- long double nextafterl(long double x, long double y);-->
|
||||||
<function name="nextafterl">
|
<function name="nextafterl">
|
||||||
<pure/>
|
<pure/>
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
@ -3430,6 +3470,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- double nexttoward(double x, long double y); -->
|
||||||
<function name="nexttoward">
|
<function name="nexttoward">
|
||||||
<pure/>
|
<pure/>
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
@ -3442,6 +3483,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- float nexttowardf(float x, long double y); -->
|
||||||
<function name="nexttowardf">
|
<function name="nexttowardf">
|
||||||
<pure/>
|
<pure/>
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
@ -3454,6 +3496,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- long double nexttowardl(long double x, long double y); -->
|
||||||
<function name="nexttowardl">
|
<function name="nexttowardl">
|
||||||
<pure/>
|
<pure/>
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
@ -3492,6 +3535,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int memchr(const void *cs, int c, size_t n);-->
|
||||||
<function name="memchr">
|
<function name="memchr">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
<pure/>
|
<pure/>
|
||||||
|
@ -3512,6 +3556,7 @@
|
||||||
<valid>0:</valid>
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int memcmp(const void *s1, const void *s2, size_t n);-->
|
||||||
<function name="memcmp">
|
<function name="memcmp">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
<pure/>
|
<pure/>
|
||||||
|
@ -3532,6 +3577,7 @@
|
||||||
<valid>0:</valid>
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- void * memcpy(void *ct, const void *cs, size_t n);-->
|
||||||
<function name="memcpy">
|
<function name="memcpy">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -3549,6 +3595,7 @@
|
||||||
<valid>0:</valid>
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- void * memmove(void *ct, const void *cs, size_t n); -->
|
||||||
<function name="memmove">
|
<function name="memmove">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -3566,6 +3613,7 @@
|
||||||
<valid>0:</valid>
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- void *memset(void *s, int c, size_t n); -->
|
||||||
<function name="memset">
|
<function name="memset">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -3581,6 +3629,7 @@
|
||||||
<valid>0:</valid>
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- time_t mktime(struct tm *tp); -->
|
||||||
<function name="mktime">
|
<function name="mktime">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -3589,6 +3638,16 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- time_t mkxtime(struct tmx *tp); -->
|
||||||
|
<function name="mktime">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- double modf(double x, double *ip); -->
|
||||||
<function name="modf">
|
<function name="modf">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -3599,6 +3658,7 @@
|
||||||
<not-null/>
|
<not-null/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- float modff(float x, float *ip); -->
|
||||||
<function name="modff">
|
<function name="modff">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -3609,6 +3669,7 @@
|
||||||
<not-null/>
|
<not-null/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- long double modfl(long double x, long double *ip); -->
|
||||||
<function name="modfl">
|
<function name="modfl">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -3619,6 +3680,7 @@
|
||||||
<not-null/>
|
<not-null/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- void perror(const char *string); -->
|
||||||
<function name="perror">
|
<function name="perror">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -3704,6 +3766,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- double remainder(double x, double y); -->
|
||||||
<function name="remainder">
|
<function name="remainder">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
<pure/>
|
<pure/>
|
||||||
|
@ -3716,6 +3779,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- float remainderf(float x, float y); -->
|
||||||
<function name="remainderf">
|
<function name="remainderf">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
<pure/>
|
<pure/>
|
||||||
|
@ -3728,6 +3792,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- long double remainderl(long double x, long double y); -->
|
||||||
<function name="remainderl">
|
<function name="remainderl">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
<pure/>
|
<pure/>
|
||||||
|
@ -3785,6 +3850,7 @@
|
||||||
<not-null/>
|
<not-null/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int printf(const char *format, ...); -->
|
||||||
<function name="printf">
|
<function name="printf">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -3843,6 +3909,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- void qsort(void *base, size_t n, size_t size, int (*cmp)(const void *, const void *)); -->
|
||||||
<function name="qsort">
|
<function name="qsort">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -3861,6 +3928,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int putc(int c, FILE *stream); -->
|
||||||
<function name="putc">
|
<function name="putc">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -3886,6 +3954,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int puthchar(int c); -->
|
||||||
<function name="putchar">
|
<function name="putchar">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -3903,6 +3972,7 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int puts(const char *string); -->
|
||||||
<function name="puts">
|
<function name="puts">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
@ -3913,12 +3983,14 @@
|
||||||
<valid>0:</valid>
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- void *realloc(void *block, size_t newsize); -->
|
||||||
<function name="realloc">
|
<function name="realloc">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="2">
|
<arg nr="2">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int remove(const char *filename); -->
|
||||||
<function name="remove">
|
<function name="remove">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
|
|
Loading…
Reference in New Issue