Small additions/corrections

This commit is contained in:
amai2012 2019-01-29 23:20:44 +01:00
parent 18e6a09739
commit b69b0bf57e
1 changed files with 22 additions and 5 deletions

View File

@ -1185,6 +1185,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<!-- void srandom(unsigned int seed); --> <!-- void srandom(unsigned int seed); -->
<function name="srandom"> <function name="srandom">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<returnValue type="void"/>
<!-- It is common practice to call srandom with an uninitialized <!-- It is common practice to call srandom with an uninitialized
variable. Therefore, no warning shall be generated in this variable. Therefore, no warning shall be generated in this
very special case. --> very special case. -->
@ -1194,6 +1195,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<function name="rewinddir"> <function name="rewinddir">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<returnValue type="void"/>
<arg nr="1"> <arg nr="1">
<not-null/> <not-null/>
<not-uninit/> <not-uninit/>
@ -1203,6 +1205,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<function name="seekdir"> <function name="seekdir">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<returnValue type="void"/>
<arg nr="1"> <arg nr="1">
<not-null/> <not-null/>
<not-uninit/> <not-uninit/>
@ -1827,6 +1830,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
http://pubs.opengroup.org/onlinepubs/009695399/functions/inet_addr.html --> http://pubs.opengroup.org/onlinepubs/009695399/functions/inet_addr.html -->
<function name="inet_addr"> <function name="inet_addr">
<leak-ignore/> <leak-ignore/>
<pure/>
<returnValue type="in_addr_t"/> <returnValue type="in_addr_t"/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
<arg nr="1"> <arg nr="1">
@ -2114,6 +2118,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<!--void endpwent(void); --> <!--void endpwent(void); -->
<function name="endpwent"> <function name="endpwent">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<returnValue type="void"/>
</function> </function>
<!--struct passwd *getpwent(void); --> <!--struct passwd *getpwent(void); -->
<function name="getpwent"> <function name="getpwent">
@ -3006,6 +3011,17 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<leak-ignore/> <leak-ignore/>
<arg nr="3"/> <arg nr="3"/>
</function> </function>
<!-- int pthread_cond_signal(pthread_cond_t *cond);
int pthread_cond_broadcast(pthread_cond_t *cond); -->
<function name="pthread_cond_signal,pthread_cond_broadcast">
<returnValue type="int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- int pthread_create(pthread_t * thread, const pthread_attr_t * attr, void *(*start_routine)(void*), void * arg); --> <!-- int pthread_create(pthread_t * thread, const pthread_attr_t * attr, void *(*start_routine)(void*), void * arg); -->
<function name="pthread_create"> <function name="pthread_create">
<returnValue type="int"/> <returnValue type="int"/>
@ -4180,6 +4196,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<!-- This type definitions refer to http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html--> <!-- This type definitions refer to http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html-->
<podtype name="in_port_t" sign="u" size="2"/> <podtype name="in_port_t" sign="u" size="2"/>
<podtype name="in_addr_t" sign="u" size="4"/> <podtype name="in_addr_t" sign="u" size="4"/>
<podtype name="nfds_t" sign="u"/>
<podtype name="socklen_t" sign="u" size="4"/> <podtype name="socklen_t" sign="u" size="4"/>
<podtype name="sa_family_t" sign="u" size="2"/> <podtype name="sa_family_t" sign="u" size="2"/>
<podtype name="nlink_t" sign="s"/> <podtype name="nlink_t" sign="s"/>
@ -4197,13 +4214,13 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<podtype name="suseconds_t" sign="u"/> <podtype name="suseconds_t" sign="u"/>
<podtype name="blksize_t" sign="s"/> <podtype name="blksize_t" sign="s"/>
<podtype name="ssize_t" sign="s"/> <podtype name="ssize_t" sign="s"/>
<podtype name="dirent"/> <!-- struct: <podtype name="dirent"/> -->
<podtype name="DIR"/> <!-- struct: <podtype name="DIR"/> -->
<podtype name="clockid_t"/> <podtype name="clockid_t"/>
<podtype name="dev_t"/> <podtype name="dev_t"/>
<podtype name="key_t"/> <podtype name="key_t"/>
<podtype name="tms"/> <podtype name="tms"/>
<podtype name="utsname"/> <!-- struct: <podtype name="utsname"/> -->
<podtype name="pthread_attr_t"/> <podtype name="pthread_attr_t"/>
<podtype name="pthread_cond_t"/> <podtype name="pthread_cond_t"/>
<podtype name="pthread_condattr_t"/> <podtype name="pthread_condattr_t"/>
@ -4228,9 +4245,9 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<podtype name="termios"/> <podtype name="termios"/>
<podtype name="intptr_t"/> <podtype name="intptr_t"/>
<podtype name="timespec"/> <podtype name="timespec"/>
<podtype name="timeval"/> <!-- struct: <podtype name="timeval"/> -->
<podtype name="timezone"/> <podtype name="timezone"/>
<podtype name="sigaction"/> <!-- struct: <podtype name="sigaction"/> -->
<podtype name="stack_t"/> <podtype name="stack_t"/>
<podtype name="mq_attr"/> <podtype name="mq_attr"/>
<podtype name="mqd_t"/> <podtype name="mqd_t"/>