posix.cfg: Added support for more POSIX functions.
This commit is contained in:
parent
0ffa81dd8a
commit
5e8c646465
115
cfg/posix.cfg
115
cfg/posix.cfg
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
<def format="1">
|
||||
<!-- int usleep(useconds_t useconds); -->
|
||||
<function name="usleep">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
|
@ -301,6 +302,19 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int nice(int incr); -->
|
||||
<function name="nice">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- int pause(void); -->
|
||||
<function name="pause">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- int close(int fildes); -->
|
||||
<function name="close">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -322,6 +336,29 @@
|
|||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- long int fpathconf(int fildes, int name); -->
|
||||
<function name="fpathconf">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- long int pathconf(const char *path, int name); -->
|
||||
<function name="pathconf">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- long int sysconf(int name); -->
|
||||
<function name="sysconf">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -648,13 +685,52 @@
|
|||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
</function>
|
||||
<!-- uid_t getuid (void); -->
|
||||
<function name="getuid">
|
||||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- pid_t getsid(pid_t pid); -->
|
||||
<function name="getsid">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<function name="geteuid">
|
||||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- pid_t getppid(void); -->
|
||||
<function name="getppid">
|
||||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- pid_t getpid(void); -->
|
||||
<function name="getpid">
|
||||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- pid_t getpgrp(void); -->
|
||||
<function name="getpgrp">
|
||||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- ppid_t getpgid(pid_t pid); -->
|
||||
<function name="getpgid">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<function name="setuid">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -662,6 +738,7 @@
|
|||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<function name="seteuid">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -669,6 +746,7 @@
|
|||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<function name="setgid">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -676,6 +754,7 @@
|
|||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<function name="setegid">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -683,6 +762,7 @@
|
|||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- int setpgid(pid_t pid, pid_t pgid); -->
|
||||
<function name="setpgid">
|
||||
|
@ -694,6 +774,10 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int pipe(int fildes[2]); -->
|
||||
<function name="pipe">
|
||||
<noreturn>false</noreturn>
|
||||
</function>
|
||||
<!-- pid_t setpgrp(void); -->
|
||||
<function name="setpgrp">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -1103,6 +1187,28 @@
|
|||
<not-null/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- off_t lseek(int fildes, off_t offset, int whence); -->
|
||||
<function name="lseek">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="3">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); -->
|
||||
<function name="nanosleep">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- void setkey(const char *key); -->
|
||||
<function name="setkey">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -1110,5 +1216,14 @@
|
|||
<not-uninit/>
|
||||
<not-null/>
|
||||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- char *getpass(const char *prompt); -->
|
||||
<function name="getpass">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
</def>
|
||||
|
|
Loading…
Reference in New Issue