2013-12-23 10:06:45 +01:00
<?xml version = "1.0"?>
2019-01-23 15:33:37 +01:00
<!-- Description of the interfaces described by previous and current POSIX standards.
Current reference: http://pubs.opengroup.org/onlinepubs/9699919799/ -->
2015-11-21 16:10:46 +01:00
<def format = "2">
2015-07-14 09:07:47 +02:00
<!-- http://man7.org/linux/man-pages/man3/a64l.3.html -->
<!-- long a64l(const char *str64); -->
<function name = "a64l">
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "long"/>
2015-07-14 09:07:47 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-07-14 09:07:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-07-14 09:07:47 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/a64l.3.html -->
<!-- char *l64a(long value); -->
<function name = "l64a">
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2015-07-14 09:07:47 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-07-14 09:07:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
<!-- The behavior of l64a() is undefined when value is negative. -->
<!-- If value is zero, it returns an empty string. -->
2015-07-14 09:07:47 +02:00
<valid>0:</valid>
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/accept.2.html -->
<!-- int accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen); -->
<function name = "accept">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-07-14 09:07:47 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="out">
2015-07-14 09:07:47 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="inout">
2015-07-14 09:07:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-07-14 09:07:47 +02:00
</arg>
</function>
2016-08-04 21:07:26 +02:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/access.html -->
<!-- int access(const char *pathname, int amode); -->
<function name = "access">
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2016-08-04 21:07:26 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
<not-null/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-08-04 21:07:26 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/adjtime.3.html -->
<!-- int adjtime(const struct timeval *delta, struct timeval *olddelta); -->
<function name = "adjtime">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-08-04 21:07:26 +02:00
</function>
2019-01-10 21:14:37 +01:00
<resource>
<alloc>dlopen</alloc>
<dealloc>dlclose</dealloc>
</resource>
2019-01-24 23:13:06 +01:00
<!-- int bind(int socket, const struct sockaddr *address, socklen_t address_len); -->
<function name = "bind">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2019-01-25 10:47:36 +01:00
<not-bool/>
2019-01-24 23:13:06 +01:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2019-01-24 23:13:06 +01:00
<not-null/>
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2019-01-24 23:13:06 +01:00
<not-uninit/>
2019-01-25 10:47:36 +01:00
<not-bool/>
<valid>0:</valid>
2019-01-24 23:13:06 +01:00
</arg>
</function>
2019-01-22 21:51:04 +01:00
<!-- int connect(int socket, const struct sockaddr *address, socklen_t address_len); -->
<function name = "connect">
<noreturn>false</noreturn>
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2019-01-22 21:51:04 +01:00
<not-uninit/>
<not-bool/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2019-01-22 21:51:04 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2019-01-22 21:51:04 +01:00
<not-uninit/>
</arg>
</function>
2019-01-10 18:33:44 +01:00
<!-- see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlopen.html -->
2019-03-06 10:08:34 +01:00
<!-- void *dlopen(const char *file, int mode); -->
2019-01-10 18:33:44 +01:00
<function name = "dlopen">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "void*"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2019-01-10 18:33:44 +01:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2019-01-10 18:33:44 +01:00
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlsym.html -->
2019-03-06 10:08:34 +01:00
<!-- void *dlsym(void *restrict handle, const char *restrict name); -->
2019-01-10 18:33:44 +01:00
<function name = "dlsym">
<noreturn>false</noreturn>
<leak-ignore/>
2019-01-12 21:50:02 +01:00
<use-retval/>
2019-01-10 18:33:44 +01:00
<returnValue type = "void*"/>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2019-01-10 18:33:44 +01:00
<not-uninit/>
</arg>
</function>
<!-- see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlclose.html -->
2019-03-06 10:08:34 +01:00
<!-- int dlclose(void *handle); -->
2019-01-10 18:33:44 +01:00
<function name = "dlclose">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
2019-01-25 21:39:23 +01:00
<!-- int dup(int fildes);
see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dup.html -->
<function name = "dup">
<noreturn>false</noreturn>
<returnValue type = "int"/>
2019-01-28 23:26:53 +01:00
<use-retval/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2019-01-25 21:39:23 +01:00
<not-bool/>
<not-uninit/>
</arg>
</function>
2019-03-06 10:08:34 +01:00
<!-- int dup2(int fildes1, int filedes2);
2019-01-25 21:39:23 +01:00
see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dup.html -->
<function name = "dup2">
<noreturn>false</noreturn>
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2019-01-28 23:26:53 +01:00
<not-bool/>
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2019-01-25 21:39:23 +01:00
<not-bool/>
<not-uninit/>
</arg>
</function>
2015-04-19 00:13:30 +02:00
<!-- int gettimeofday(struct timeval *tv, struct timezone *tz); -->
<function name = "gettimeofday">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="out"/>
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-04-19 00:13:30 +02:00
</function>
<!-- int settimeofday(const struct timeval *tv, const struct timezone *tz); -->
<function name = "settimeofday">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-19 00:13:30 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-19 00:13:30 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-19 00:13:30 +02:00
</arg>
</function>
2015-04-12 10:42:16 +02:00
<!-- void FD_CLR(int fd, fd_set *set); -->
<function name = "FD_CLR">
<noreturn>false</noreturn>
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-12 10:42:16 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="inout">
2015-04-12 10:42:16 +02:00
<not-null/>
</arg>
</function>
2017-08-01 20:35:30 +02:00
<!-- int FD_ISSET(int fd, fd_set *set); -->
2015-04-12 10:42:16 +02:00
<function name = "FD_ISSET">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-12 10:42:16 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-12 10:42:16 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-12 10:42:16 +02:00
</arg>
</function>
<!-- void FD_SET(int fd, fd_set *set); -->
<function name = "FD_SET">
<noreturn>false</noreturn>
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-12 10:42:16 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="inout">
2015-04-12 10:42:16 +02:00
<not-null/>
</arg>
</function>
<!-- void FD_ZERO(fd_set *set);-->
2015-04-12 12:53:29 +02:00
<function name = "FD_ZERO">
2015-04-12 10:42:16 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="out">
2015-04-12 10:42:16 +02:00
<not-null/>
</arg>
</function>
2016-08-04 21:07:26 +02:00
<!-- http://pubs.opengroup.org/onlinepubs/009695399/functions/fdatasync.html -->
<!-- int fdatasync(int fildes); -->
<function name = "fdatasync">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-08-04 21:07:26 +02:00
</arg>
</function>
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/fnmatch.html -->
<!-- int fnmatch(const char *pattern, const char *string, int flags); -->
<function name = "fnmatch">
<pure/>
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2016-08-04 21:07:26 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
<not-null/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
<not-null/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-08-04 21:07:26 +02:00
</arg>
</function>
<!-- http://pubs.opengroup.org/onlinepubs/009695399/functions/fsync.html -->
<!-- int fsync(int fildes); -->
<function name = "fsync">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-08-04 21:07:26 +02:00
</arg>
</function>
2019-03-06 10:08:34 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/truncate.html -->
2015-04-10 08:26:44 +02:00
<!-- int truncate(const char *path, off_t length); -->
<function name = "truncate">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-10 08:26:44 +02:00
<not-null/>
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-10 08:26:44 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-10 08:26:44 +02:00
</arg>
</function>
<!-- int ftruncate(int fd, off_t length); -->
<function name = "ftruncate">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-10 08:26:44 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-10 08:26:44 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-10 08:26:44 +02:00
</arg>
</function>
2015-04-09 19:25:33 +02:00
<!-- int flock(int fd, int operation); -->
<function name = "flock">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-09 19:25:33 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-09 19:25:33 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-09 19:25:33 +02:00
</arg>
</function>
2015-04-09 21:35:18 +02:00
<!-- int symlink(const char *oldpath, const char *newpath); -->
<function name = "symlink">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-09 21:35:18 +02:00
<not-null/>
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-09 21:35:18 +02:00
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-09 21:35:18 +02:00
</arg>
</function>
2015-04-09 19:25:33 +02:00
<!-- int open(const char *pathname, int flags) -->
2016-01-13 11:57:21 +01:00
<!-- int open(const char *pathname, int flags, mode_t mode); -->
<function name = "open">
2018-01-18 13:56:36 +01:00
<!-- TODO: add use-retval when cppcheck suppresses redundant messages
because of violations to alloc/dealloc and use-retval configuration-->
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-04-09 21:35:18 +02:00
<noreturn>false</noreturn>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-09 21:35:18 +02:00
<not-null/>
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-09 21:35:18 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-09 21:35:18 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" default="0" direction="in">
2016-01-13 11:57:21 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-13 11:57:21 +01:00
</arg>
2015-04-09 21:35:18 +02:00
</function>
2016-01-13 11:57:21 +01:00
<!-- int creat(const char *pathname, mode_t mode); -->
<function name = "creat">
2015-04-09 21:35:18 +02:00
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-04-09 21:35:18 +02:00
<noreturn>false</noreturn>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-09 21:35:18 +02:00
<not-null/>
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-09 21:35:18 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-09 21:35:18 +02:00
</arg>
</function>
2015-04-05 23:15:23 +02:00
<!-- unsigned int sleep(unsigned int seconds); -->
<function name = "sleep">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "unsigned int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
2015-03-10 14:40:12 +01:00
<!-- int usleep(useconds_t useconds); -->
2014-10-14 06:46:47 +02:00
<function name = "usleep">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-11-22 13:34:40 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-bool/>
<valid>0:999999</valid>
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style">Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead.
The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() function obsolescent and POSIX.1-2008 removes it. It is recommended that new applications use the 'nanosleep' or 'setitimer' function.</warn>
2014-10-14 06:46:47 +02:00
</function>
2015-02-05 14:18:08 +01:00
<!-- void _exit(int status); -->
2014-10-14 06:46:47 +02:00
<function name = "_exit">
<noreturn>true</noreturn>
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-02-05 14:18:08 +01:00
<not-uninit/>
</arg>
2014-10-14 06:46:47 +02:00
</function>
2015-07-14 09:21:57 +02:00
<!-- http://man7.org/linux/man-pages/man2/access.2.html -->
<!-- int faccessat(int dirfd, const char *pathname, int mode, int flags); -->
<function name = "faccessat">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-07-14 09:21:57 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-07-14 09:21:57 +02:00
<not-null/>
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2015-07-14 09:21:57 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "4" direction="in">
2015-07-14 09:21:57 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-07-14 09:21:57 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/acct.2.html -->
<!-- int acct(const char *filename); -->
<function name = "acct">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-07-14 09:21:57 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-07-14 09:21:57 +02:00
</arg>
</function>
2016-12-05 10:30:11 +01:00
<!-- http://man7.org/linux/man-pages/man2/alarm.2.html -->
2015-02-05 02:27:20 +01:00
<!-- unsigned int alarm(unsigned int seconds); -->
<function name = "alarm">
<noreturn>false</noreturn>
2015-11-22 13:34:40 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "unsigned int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-11-21 20:24:30 +01:00
</arg>
</function>
<!-- struct rpcent *getrpcent(void); -->
<function name = "getrpcent">
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct rpcent *"/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
<warn severity = "portability">Non reentrant function 'getrpcent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getrpcent_r'.</warn>
</function>
<!-- struct rpcent *getrpcbyname(char *name); -->
<function name = "getrpcbyname">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct rpcent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getrpcbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getrpcbyname_r'.</warn>
</function>
2017-10-05 11:38:11 +02:00
<!-- struct rpcent *getrpcbynumber(int number); -->
2015-11-21 20:24:30 +01:00
<function name = "getrpcbynumber">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct rpcent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-02-05 02:27:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-05 02:27:20 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'getrpcbynumber' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getrpcbynumber_r'.</warn>
</function>
<!-- struct protoent *getprotoent(void); -->
<function name = "getprotoent">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct protoent *"/>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'getprotoent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotoent_r'.</warn>
</function>
<!-- struct protoent *getprotobyname(const char *name); -->
<function name = "getprotobyname">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct protoent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'.</warn>
</function>
<!-- struct protoent *getprotobynumber(int proto); -->
2018-01-16 10:46:30 +01:00
<function name = "getprotobynumber">
2015-11-21 20:24:30 +01:00
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct protoent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getprotobynumber' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobynumber_r'.</warn>
</function>
<!-- struct servent *getservent(void); -->
<function name = "getservent">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct servent *"/>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'getservent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservent_r'.</warn>
</function>
<!-- struct servent *getservbyname(const char *name, const char *proto); -->
<function name = "getservbyname">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct servent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'.</warn>
</function>
<!-- struct servent *getservbyport(int port, const char *proto); -->
<function name = "getservbyport">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct servent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getservbyport' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyport_r'.</warn>
</function>
<!-- struct netent *getnetent(void); -->
<function name = "getnetent">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct netent *"/>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'getnetent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getnetent_r'.</warn>
</function>
<!-- struct netent *getnetbyname(const char *name); -->
<function name = "getnetbyname">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct netent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getnetbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getnetbyname_r'.</warn>
</function>
<!-- struct netent *getnetbyaddr(uint32_t net, int type); -->
<function name = "getnetbyaddr">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct netent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getnetbyaddr' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getnetbyaddr_r'.</warn>
</function>
<!-- struct hostent *gethostent(void); -->
<function name = "gethostent">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct hostent *"/>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'gethostent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gethostent_r'.</warn>
2015-02-05 02:27:20 +01:00
</function>
2015-04-05 23:15:23 +02:00
<!-- struct hostent *gethostbyname(const char *name); -->
<function name = "gethostbyname">
2015-11-21 20:24:30 +01:00
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct hostent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="getaddrinfo"/>
</function>
<!-- struct hostent *gethostbyname2(const char *name, int af); -->
<function name = "gethostbyname2">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct hostent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-05 23:15:23 +02:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-05 23:15:23 +02:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'gethostbyname2' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gethostbyname2_r'.</warn>
2015-04-05 23:15:23 +02:00
</function>
<!-- struct hostent *gethostbyaddr(const void *addr, socklen_t len, int type); -->
<function name = "gethostbyaddr">
2015-11-21 20:24:30 +01:00
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct hostent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-05 23:15:23 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-04-05 23:15:23 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-05 23:15:23 +02:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="getnameinfo"/>
2015-04-05 23:15:23 +02:00
</function>
2015-02-05 02:27:20 +01:00
<!-- int brk(void *addr); -->
<function name = "brk">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-02-05 02:27:20 +01:00
<arg nr = "1">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-05 02:27:20 +01:00
</arg>
</function>
<!-- void *sbrk(intptr_t incr);-->
<function name = "sbrk">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "void *"/>
2015-02-05 02:27:20 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- int closedir(DIR *dir); -->
2014-10-14 06:46:47 +02:00
<function name = "closedir">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2016-01-21 16:14:59 +01:00
<!-- char *strfry(char *string); -->
<function name = "strfry">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2016-01-21 16:14:59 +01:00
<arg nr = "1">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-21 16:14:59 +01:00
</arg>
</function>
<!-- char *strsep(char **stringp, const char *delim); -->
<function name = "strsep">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2016-01-21 16:14:59 +01:00
<arg nr = "1">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-21 16:14:59 +01:00
</arg>
</function>
<!-- char *strdup(const char *s); -->
2014-08-15 16:01:48 +02:00
<function name = "strdup">
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2019-02-03 20:38:33 +01:00
<use-retval/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2014-06-25 12:00:24 +02:00
</function>
2016-01-21 16:32:00 +01:00
<!-- char *strndup(const char *s, size_t n); -->
2014-08-15 16:01:48 +02:00
<function name = "strndup">
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2019-02-03 20:38:33 +01:00
<use-retval/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2014-08-15 16:01:48 +02:00
</function>
2016-01-21 16:32:00 +01:00
<!-- wchar_t *wcsdup(const wchar_t *s); -->
2014-08-15 16:01:48 +02:00
<function name = "wcsdup">
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "wchar_t *"/>
2019-02-03 20:38:33 +01:00
<use-retval/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2016-01-21 16:32:00 +01:00
<!-- int mkstemp(char *template); -->
2014-10-14 06:46:47 +02:00
<function name = "mkstemp">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2016-01-21 16:32:00 +01:00
<!-- char *mkdtemp(char *template); -->
2014-10-14 06:46:47 +02:00
<function name = "mkdtemp">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2016-01-21 16:32:00 +01:00
<!-- char *mktemp(char *template); -->
2014-10-14 06:46:47 +02:00
<function name = "mktemp">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2016-11-28 16:58:33 +01:00
<use-retval/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2015-12-18 18:29:53 +01:00
<warn severity = "warning">Obsolete function 'mktemp' called. It is recommended to use 'mkstemp' or 'mkdtemp' instead.
The function 'mktemp' is considered to be dangerous due to race conditions and some implementations generating only up to 26 different filenames out of each template. This function has been removed in POSIX.1-2008. Use 'mkstemp' or 'mkdtemp' instead.</warn>
2014-08-15 16:01:48 +02:00
</function>
2015-02-02 17:23:43 +01:00
<!-- char *getcwd(char *buf, size_t size); -->
2014-03-21 16:09:45 +01:00
<function name = "getcwd">
2014-10-14 06:20:07 +02:00
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2015-11-25 11:02:32 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2014-04-20 10:50:32 +02:00
</function>
2015-02-02 17:23:43 +01:00
<!-- int mkdir(const char *pathname, mode_t mode); -->
2014-03-21 16:09:45 +01:00
<function name = "mkdir">
2014-10-14 06:20:07 +02:00
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-10-14 06:46:47 +02:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- int rmdir(const char *pathname); -->
2014-10-14 06:46:47 +02:00
<function name = "rmdir">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- int chdir(const char *path); -->
2014-10-14 06:46:47 +02:00
<function name = "chdir">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2014-04-20 10:50:32 +02:00
</function>
2015-02-05 02:27:20 +01:00
<!-- int chroot(const char *path); -->
<function name = "chroot">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2015-02-05 02:27:20 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-05 02:27:20 +01:00
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- int link(const char *oldpath, const char *newpath); -->
2014-03-21 16:09:45 +01:00
<function name = "link">
2014-10-14 06:20:07 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-10-14 06:46:47 +02:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2014-10-14 06:20:07 +02:00
</function>
2015-02-02 17:23:43 +01:00
<!-- int unlink(const char *pathname); -->
<function name = "unlink">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-02-02 17:23:43 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-02 17:23:43 +01:00
</arg>
</function>
<!-- int stat(const char *file_name, struct stat *buf); -->
<function name = "stat">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-02-02 17:23:43 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-02-02 17:23:43 +01:00
</arg>
<arg nr = "2">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-02 17:23:43 +01:00
</arg>
</function>
2015-04-04 23:59:05 +02:00
<!-- int lstat(const char *file_name, struct stat *buf); -->
<function name = "lstat">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-04-04 23:59:05 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-04-04 23:59:05 +02:00
</arg>
<arg nr = "2">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-04 23:59:05 +02:00
</arg>
</function>
<!-- int fstat(const char *file_name, struct stat *buf); -->
<function name = "fstat">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-04-04 23:59:05 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- int chmod(const char *path, mode_t mode); -->
<function name = "chmod">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-02-02 17:23:43 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-02-02 17:23:43 +01:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2015-02-02 17:23:43 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-02 17:23:43 +01:00
</arg>
</function>
2016-08-09 11:07:14 +02:00
<!-- int fchmod(int fildes, mode_t mode); -->
<function name = "fchmod">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2016-08-09 11:07:14 +02:00
<not-uninit/>
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2016-08-09 11:07:14 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-08-09 11:07:14 +02:00
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- int chown(const char *path, uid_t owner, gid_t group); -->
<function name = "chown">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-02-02 17:23:43 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-02-02 17:23:43 +01:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2015-02-02 17:23:43 +01:00
<not-uninit/>
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "3" direction="in">
2015-02-02 17:23:43 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-02 17:23:43 +01:00
</arg>
</function>
2015-03-12 12:06:14 +01:00
<!-- int lchown(const char *path, uid_t owner, gid_t group); -->
<function name = "lchown">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-03-12 12:06:14 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-12 12:06:14 +01:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2015-03-12 12:06:14 +01:00
<not-uninit/>
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "3" direction="in">
2015-03-12 12:06:14 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-12 12:06:14 +01:00
</arg>
</function>
<!-- int fchown(int fildes, uid_t owner, gid_t group); -->
<function name = "fchown">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-12 12:06:14 +01:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2015-03-12 12:06:14 +01:00
<not-uninit/>
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "3" direction="in">
2015-03-12 12:06:14 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-12 12:06:14 +01:00
</arg>
</function>
2018-05-08 09:30:08 +02:00
<!-- clock_t times(struct tms *buffer); -->
2017-06-02 22:58:39 +02:00
<function name = "times">
<noreturn>false</noreturn>
2018-05-08 09:30:08 +02:00
<returnValue type = "clock_t"/>
2017-06-02 22:58:39 +02:00
<leak-ignore/>
<arg nr = "1">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-06-02 22:58:39 +02:00
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- int utime(const char *filename, struct utimbuf *buf); -->
<function name = "utime">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-02-02 17:23:43 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-02-02 17:23:43 +01:00
</arg>
2015-03-08 21:38:43 +01:00
<arg nr = "2">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-08 21:38:43 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="utimensat"/>
2015-02-20 22:43:48 +01:00
</function>
<!-- int utimes(const char *filename, const struct timeval times[2]); -->
<function name = "utimes">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-02-20 22:43:48 +01:00
<arg nr = "1">
2015-02-02 17:23:43 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-02-02 17:23:43 +01:00
</arg>
2015-03-08 21:38:43 +01:00
<arg nr = "2">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-08 21:38:43 +01:00
</arg>
2015-02-02 17:23:43 +01:00
</function>
<!-- DIR *opendir(const char *name); -->
<function name = "opendir">
<noreturn>false</noreturn>
2017-10-05 11:38:11 +02:00
<returnValue type = "DIR *"/>
<use-retval/>
2015-02-02 17:23:43 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-02 17:23:43 +01:00
</arg>
</function>
2016-01-21 16:32:00 +01:00
<!-- DIR *fdopendir(int fd); -->
2015-02-15 18:11:09 +01:00
<function name = "fdopendir">
2016-11-28 16:58:33 +01:00
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "DIR *"/>
2015-02-15 18:11:09 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-15 18:11:09 +01:00
</arg>
</function>
2015-03-12 12:06:14 +01:00
<!-- int isatty(int fildes); -->
2014-10-14 06:46:47 +02:00
<function name = "isatty">
2015-03-12 12:06:14 +01:00
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2016-01-21 16:32:00 +01:00
<!-- FILE *popen(const char *command, const char *type); -->
2014-10-14 06:46:47 +02:00
<function name = "popen">
2016-11-28 16:58:33 +01:00
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "FILE *"/>
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2016-01-21 16:32:00 +01:00
<!-- int pclose(FILE *stream); -->
2014-10-14 06:46:47 +02:00
<function name = "pclose">
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2015-02-15 18:11:09 +01:00
<!-- int socket(int domain, int type, int protocol); -->
<function name = "socket">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-02-15 18:11:09 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-15 18:11:09 +01:00
</arg>
</function>
2015-03-10 14:40:12 +01:00
<!-- int nice(int incr); -->
<function name = "nice">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2015-03-10 14:40:12 +01:00
<arg nr = "1">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-10 14:40:12 +01:00
</arg>
</function>
<!-- int pause(void); -->
<function name = "pause">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-03-10 14:40:12 +01:00
<leak-ignore/>
</function>
2015-02-05 11:40:25 +01:00
<!-- int close(int fildes); -->
2015-02-05 02:27:20 +01:00
<function name = "close">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:28:17 +02:00
<arg nr = "1" direction="in">
2015-02-05 02:27:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-04-21 12:28:17 +02:00
<valid>0:</valid>
2015-02-05 02:27:20 +01:00
</arg>
</function>
2015-02-05 11:40:25 +01:00
<!-- size_t confstr(int, char *, size_t); -->
<function name = "confstr">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "size_t"/>
2015-02-05 11:40:25 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-02-05 11:40:25 +01:00
</arg>
</function>
2015-03-10 14:40:12 +01:00
<!-- long int fpathconf(int fildes, int name); -->
<function name = "fpathconf">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "long int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-10 14:40:12 +01:00
</arg>
</function>
<!-- long int pathconf(const char *path, int name); -->
<function name = "pathconf">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "long int"/>
2015-03-10 14:40:12 +01:00
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-10 14:40:12 +01:00
</arg>
</function>
2015-02-05 11:40:25 +01:00
<!-- long int sysconf(int name); -->
<function name = "sysconf">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "long int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2015-02-05 11:40:25 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-05 11:40:25 +01:00
</arg>
</function>
2016-01-13 11:57:21 +01:00
<!-- FILE *fdopen(int fd, const char *mode); -->
2014-10-14 06:46:47 +02:00
<function name = "fdopen">
2016-01-13 11:57:21 +01:00
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "FILE *"/>
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2016-01-13 11:57:21 +01:00
<not-uninit/>
</arg>
<arg nr = "2">
2014-10-14 06:46:47 +02:00
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2016-01-13 11:57:21 +01:00
<!-- long int random(void); -->
<function name = "random">
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "long int"/>
2016-01-13 11:57:21 +01:00
<noreturn>false</noreturn>
</function>
<!-- void srandom(unsigned int seed); -->
<function name = "srandom">
<noreturn>false</noreturn>
2019-01-29 23:20:44 +01:00
<returnValue type = "void"/>
2016-01-13 11:57:21 +01:00
<!-- It is common practice to call srandom with an uninitialized
variable. Therefore, no warning shall be generated in this
very special case. -->
<arg nr = "1"/>
</function>
2015-02-02 17:23:43 +01:00
<!-- void rewinddir(DIR *dir); -->
2014-12-10 16:10:03 +01:00
<function name = "rewinddir">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-01-29 23:20:44 +01:00
<returnValue type = "void"/>
2014-12-10 16:10:03 +01:00
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
</function>
2015-03-08 14:24:54 +01:00
<!-- void seekdir(DIR *dirp, long loc); -->
<function name = "seekdir">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-01-29 23:20:44 +01:00
<returnValue type = "void"/>
2015-03-08 14:24:54 +01:00
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
2016-01-21 16:32:00 +01:00
<!-- int rand_r(unsigned int *seedp); -->
2014-06-25 15:09:03 +02:00
<function name = "rand_r">
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="rand"/>
2014-06-25 15:09:03 +02:00
</function>
2016-01-21 16:14:59 +01:00
<!-- int strcasecmp(const char *s1, const char *s2); -->
2014-06-26 16:22:49 +02:00
<function name = "strcasecmp">
2015-01-09 14:35:12 +01:00
<pure/>
2019-02-04 08:27:49 +01:00
<use-retval/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2014-10-14 06:46:47 +02:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2014-06-26 16:22:49 +02:00
</function>
2016-01-21 16:14:59 +01:00
<!-- int strncasecmp(const char *s1, const char *s2, size_t n); -->
2014-06-26 16:22:49 +02:00
<function name = "strncasecmp">
2015-01-09 14:35:12 +01:00
<pure/>
2019-02-04 08:27:49 +01:00
<use-retval/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2014-10-14 06:46:47 +02:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-bool/>
<valid>0:</valid>
</arg>
2014-07-05 22:47:10 +02:00
</function>
2015-02-11 14:27:29 +01:00
<!-- ssize_t read(int fd, void *buf, size_t count); -->
2014-07-05 22:47:10 +02:00
<function name = "read">
2016-01-22 11:03:37 +01:00
<leak-ignore/>
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="out">
2014-10-14 06:46:47 +02:00
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2014-07-05 22:47:10 +02:00
</function>
2015-09-10 11:50:47 +02:00
<!-- ssize_t write(int fildes, const void *buf, size_t nbyte); -->
2014-07-05 22:47:10 +02:00
<function name = "write">
2015-02-17 18:08:19 +01:00
<noreturn>false</noreturn>
2016-01-22 11:03:37 +01:00
<leak-ignore/>
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2014-12-15 10:05:44 +01:00
<not-uninit/>
2015-11-21 16:10:46 +01:00
<minsize type = "argvalue" arg="3"/>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-09-10 11:50:47 +02:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2014-07-05 22:47:10 +02:00
</function>
2017-08-02 09:26:16 +02:00
<!-- ssize_t recv(int sockfd, void *buf, size_t len, int flags); -->
2014-07-05 22:47:10 +02:00
<function name = "recv">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="out">
2014-10-14 06:46:47 +02:00
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "4" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2014-07-05 22:47:10 +02:00
</function>
2017-08-02 09:26:16 +02:00
<!-- ssize_t recvfrom(int sockfd, void *buf, size_t len, int flags,
struct sockaddr *src_addr, socklen_t *addrlen); -->
2014-07-05 22:47:10 +02:00
<function name = "recvfrom">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="out">
2014-10-14 06:46:47 +02:00
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "4" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "5" direction="out"/>
<arg nr = "6" direction="inout">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2014-07-05 22:47:10 +02:00
</function>
2017-08-02 09:26:16 +02:00
<!-- ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags); -->
<function name = "recvmsg">
<returnValue type = "ssize_t"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2017-08-02 09:26:16 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="inout"/>
<arg nr = "3" direction="in">
2017-08-02 09:26:16 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-08-02 09:26:16 +02:00
</arg>
</function>
<!-- ssize_t send(int sockfd, const void *buf, size_t len, int flags); -->
2014-07-05 22:47:10 +02:00
<function name = "send">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2014-10-14 06:46:47 +02:00
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "4" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2014-07-05 22:47:10 +02:00
</function>
2017-08-02 09:26:16 +02:00
<!-- ssize_t sendto(int sockfd, const void *buf, size_t len, int flags,
const struct sockaddr *dest_addr, socklen_t addrlen); -->
2014-07-05 22:47:10 +02:00
<function name = "sendto">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2014-10-14 06:46:47 +02:00
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "4" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "5" direction="in"/>
<arg nr = "6" direction="in">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2014-07-05 22:47:10 +02:00
</function>
2017-08-02 09:26:16 +02:00
<!-- ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags); -->
<function name = "sendmsg">
<returnValue type = "ssize_t"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2017-08-02 09:26:16 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2017-08-02 09:26:16 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2017-08-02 09:26:16 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-08-02 09:26:16 +02:00
</arg>
</function>
2019-03-11 11:20:07 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mmap.html -->
2014-12-12 23:45:56 +01:00
<!-- void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset); -->
<function name = "mmap">
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "void *"/>
2014-12-12 23:45:56 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2019-03-11 11:20:07 +01:00
<valid>1:</valid>
2014-12-12 23:45:56 +01:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "4" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "5" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "6" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-12-12 23:45:56 +01:00
</arg>
</function>
<!-- void *mmap64(void *addr, size_t length, int prot, int flags, int fd, off64_t offset); -->
<function name = "mmap64">
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "void *"/>
2014-12-12 23:45:56 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2019-03-11 11:20:07 +01:00
<valid>1:</valid>
2014-12-12 23:45:56 +01:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "4" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "5" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "6" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-12-12 23:45:56 +01:00
</arg>
</function>
2019-03-11 11:20:07 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/munmap.html -->
2014-12-12 23:45:56 +01:00
<!-- int munmap(void *addr, size_t length); -->
<function name = "munmap">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2014-12-12 23:45:56 +01:00
<noreturn>false</noreturn>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-12-12 23:45:56 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-12-12 23:45:56 +01:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-03-11 11:20:07 +01:00
<valid>1:</valid>
2014-12-12 23:45:56 +01:00
</arg>
</function>
2015-02-14 18:46:05 +01:00
<!-- void openlog(const char *ident, int option, int facility); -->
<function name = "openlog">
<noreturn>false</noreturn>
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2015-02-14 18:46:05 +01:00
<leak-ignore/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2015-02-14 18:46:05 +01:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2015-02-14 18:46:05 +01:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2015-02-14 18:46:05 +01:00
<not-uninit/>
</arg>
</function>
2015-04-05 23:15:23 +02:00
<!-- int fcntl(int fd, int cmd, ... /* arg */ ); -->
<function name = "fcntl">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
</arg>
2015-04-10 08:26:44 +02:00
<arg nr = "any">
<not-uninit/>
</arg>
2015-04-05 23:15:23 +02:00
</function>
2017-09-19 21:12:03 +02:00
<!-- http://man7.org/linux/man-pages/man2/ioctl.2.html -->
<!-- int ioctl(int fd, unsigned long request, ...); -->
<function name = "ioctl">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2017-09-19 21:12:03 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2017-09-19 21:12:03 +02:00
<not-uninit/>
</arg>
<arg nr = "any">
<not-uninit/>
</arg>
</function>
2015-02-14 18:46:05 +01:00
<!-- void syslog(int priority, const char *format, ...); -->
<function name = "syslog">
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-02-14 18:46:05 +01:00
<not-uninit/>
</arg>
2015-11-21 16:10:46 +01:00
<formatstr/>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
2015-02-14 18:46:05 +01:00
<formatstr/>
</arg>
<arg nr = "any">
<not-uninit/>
</arg>
</function>
<!-- void vsyslog(int priority, const char *format, va_list ap); -->
<function name = "vsyslog">
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-02-14 18:46:05 +01:00
<not-uninit/>
</arg>
2015-11-21 16:10:46 +01:00
<formatstr/>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
2015-02-14 18:46:05 +01:00
<formatstr/>
</arg>
<arg nr = "any">
<not-uninit/>
</arg>
</function>
2017-08-02 09:26:16 +02:00
<!-- gid_t getgid(void) -->
2015-02-16 22:19:51 +01:00
<function name = "getgid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "gid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-02-16 22:19:51 +01:00
</function>
2017-08-02 09:26:16 +02:00
<!-- gid_t getegid(void) -->
2015-02-16 22:19:51 +01:00
<function name = "getegid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "gid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-02-16 22:19:51 +01:00
</function>
2015-03-10 14:40:12 +01:00
<!-- uid_t getuid (void); -->
2015-02-16 22:19:51 +01:00
<function name = "getuid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "uid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-10 14:40:12 +01:00
<leak-ignore/>
</function>
<!-- pid_t getsid(pid_t pid); -->
<function name = "getsid">
2015-11-21 16:10:46 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-03-10 14:40:12 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-10 14:40:12 +01:00
</arg>
2015-02-16 22:19:51 +01:00
</function>
2015-07-14 09:07:47 +02:00
<!-- uid_t geteuid(void); -->
2015-02-16 22:19:51 +01:00
<function name = "geteuid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "uid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-10 14:40:12 +01:00
<leak-ignore/>
</function>
<!-- pid_t getppid(void); -->
<function name = "getppid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-10 14:40:12 +01:00
<leak-ignore/>
</function>
<!-- pid_t getpid(void); -->
<function name = "getpid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-10 14:40:12 +01:00
<leak-ignore/>
</function>
<!-- pid_t getpgrp(void); -->
<function name = "getpgrp">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-10 14:40:12 +01:00
<leak-ignore/>
</function>
<!-- ppid_t getpgid(pid_t pid); -->
<function name = "getpgid">
2015-11-21 16:10:46 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "ppid_t"/>
2015-03-10 14:40:12 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-10 14:40:12 +01:00
</arg>
2015-02-16 22:19:51 +01:00
</function>
2015-07-14 09:07:47 +02:00
<!-- int setuid(uid_t uid); -->
2015-02-16 22:19:51 +01:00
<function name = "setuid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-02-16 22:19:51 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-16 22:19:51 +01:00
</arg>
</function>
2015-07-14 09:07:47 +02:00
<!-- int seteuid(uid_t euid); -->
2015-02-16 22:19:51 +01:00
<function name = "seteuid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-02-16 22:19:51 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-16 22:19:51 +01:00
</arg>
</function>
2017-08-02 09:26:16 +02:00
<!-- int setgid(gid_t gid); -->
2015-02-16 22:19:51 +01:00
<function name = "setgid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-02-16 22:19:51 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-16 22:19:51 +01:00
</arg>
</function>
2015-07-14 09:07:47 +02:00
<!-- int setegid(gid_t egid); -->
2015-02-16 22:19:51 +01:00
<function name = "setegid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-02-16 22:19:51 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-16 22:19:51 +01:00
</arg>
</function>
2015-03-08 14:24:54 +01:00
<!-- int setpgid(pid_t pid, pid_t pgid); -->
<function name = "setpgid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-08 14:24:54 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-03-08 14:24:54 +01:00
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
2015-03-08 14:24:54 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-08 14:24:54 +01:00
</arg>
</function>
2015-03-10 14:40:12 +01:00
<!-- int pipe(int fildes[2]); -->
<function name = "pipe">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-10 14:40:12 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="out">
2019-03-30 15:49:52 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-03-30 15:49:52 +01:00
<minsize type = "value" value="2"/>
2018-05-08 09:30:08 +02:00
</arg>
2015-03-10 14:40:12 +01:00
</function>
2019-01-28 23:26:53 +01:00
<!-- int pselect(int nfds, fd_set *restrict readfds,
fd_set *restrict writefds, fd_set *restrict errorfds,
const struct timespec *restrict timeout,
const sigset_t *restrict sigmask);
see http://pubs.opengroup.org/onlinepubs/9699919799/functions/pselect.html -->
<function name = "pselect">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2019-01-28 23:26:53 +01:00
<not-bool/>
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="inout">
2019-01-28 23:26:53 +01:00
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "3" direction="inout">
2019-01-28 23:26:53 +01:00
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "4" direction="inout">
2019-01-28 23:26:53 +01:00
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "5" direction="in">
2019-01-28 23:26:53 +01:00
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "6" direction="in">
2019-01-28 23:26:53 +01:00
<not-uninit/>
</arg>
</function>
2019-01-25 21:39:23 +01:00
<!-- int select(int nfds, fd_set *restrict readfds, fd_set * writefds, fd_set * errorfds, struct timeval *timeout);
see http://pubs.opengroup.org/onlinepubs/9699919799/functions/pselect.html -->
<function name = "select">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2019-01-28 23:26:53 +01:00
<not-bool/>
<not-uninit/>
2019-01-25 21:39:23 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="inout">
2019-01-28 23:26:53 +01:00
<not-uninit/>
2019-01-25 21:39:23 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "3" direction="inout">
2019-01-28 23:26:53 +01:00
<not-uninit/>
2019-01-25 21:39:23 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "4" direction="inout">
2019-01-28 23:26:53 +01:00
<not-uninit/>
2019-01-25 21:39:23 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "5" direction="inout">
2019-01-25 21:39:23 +01:00
<not-uninit/>
</arg>
</function>
2015-03-08 14:24:54 +01:00
<!-- pid_t setpgrp(void); -->
<function name = "setpgrp">
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-03-08 14:24:54 +01:00
<noreturn>false</noreturn>
</function>
<!-- int setregid(gid_t rgid, gid_t egid); -->
<function name = "setregid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-08 14:24:54 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-03-08 14:24:54 +01:00
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
2015-03-08 14:24:54 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-08 14:24:54 +01:00
</arg>
</function>
<!-- int setreuid(uid_t ruid, uid_t euid); -->
<function name = "setreuid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-08 14:24:54 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-03-08 14:24:54 +01:00
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
2015-03-08 14:24:54 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-08 14:24:54 +01:00
</arg>
</function>
2015-04-10 08:26:44 +02:00
<!-- int setfsuid(uid_t fsuid); -->
<function name = "setfsuid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-10 08:26:44 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-04-10 08:26:44 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-10 08:26:44 +02:00
</arg>
</function>
2015-04-10 08:45:32 +02:00
<!-- int setfsgid(uid_t fsgid); -->
<function name = "setfsgid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-10 08:45:32 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-04-10 08:45:32 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-10 08:45:32 +02:00
</arg>
</function>
2015-03-08 14:24:54 +01:00
<!-- pid_t setsid(void); -->
<function name = "setsid">
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-03-08 14:24:54 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<!-- it is a good idea to do: <use-retval/> -->
2015-03-08 14:24:54 +01:00
</function>
2015-03-12 12:06:14 +01:00
<!-- char *getwd(char *path_name);-->
<function name = "getwd">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-03-12 12:06:14 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="out">
2015-03-12 12:06:14 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-12 12:06:14 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
<warn severity = "style" reason="Obsolescent" alternatives="getcwd"/>
2015-03-12 12:06:14 +01:00
</function>
2015-02-21 11:08:58 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/009695399/basedefs/arpa/inet.h.html -->
<!-- uint32_t htonl(uint32_t); -->
<function name = "htonl">
2017-08-02 09:26:16 +02:00
<returnValue type = "uint32_t"/>
2015-02-21 11:08:58 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-21 11:08:58 +01:00
</arg>
</function>
<!-- uint16_t htons(uint16_t); -->
<function name = "htons">
2017-08-02 09:26:16 +02:00
<returnValue type = "uint16_t"/>
2015-02-21 11:08:58 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-21 11:08:58 +01:00
</arg>
</function>
<!-- uint32_t ntohl(uint32_t); -->
<function name = "ntohl">
2017-08-02 09:26:16 +02:00
<returnValue type = "uint32_t"/>
2015-02-21 11:08:58 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-21 11:08:58 +01:00
</arg>
</function>
<!-- uint16_t ntohs(uint16_t); -->
<function name = "ntohs">
2017-08-02 09:26:16 +02:00
<returnValue type = "uint16_t"/>
2015-02-21 11:08:58 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-21 11:08:58 +01:00
</arg>
</function>
2019-01-28 23:26:53 +01:00
<!-- in_addr_t inet_addr(const char *cp);
http://pubs.opengroup.org/onlinepubs/009695399/functions/inet_addr.html -->
<function name = "inet_addr">
<leak-ignore/>
2019-01-29 23:20:44 +01:00
<pure/>
2019-01-28 23:26:53 +01:00
<returnValue type = "in_addr_t"/>
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2019-01-28 23:26:53 +01:00
<not-uninit/>
<not-bool/>
<strz/>
</arg>
</function>
<!-- char *inet_ntoa(struct in_addr in);
http://pubs.opengroup.org/onlinepubs/009695399/functions/inet_addr.html -->
<function name = "inet_ntoa">
<leak-ignore/>
<returnValue type = "char *"/>
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2019-01-28 23:26:53 +01:00
<not-uninit/>
<not-bool/>
</arg>
</function>
2019-03-11 14:11:47 +01:00
<!-- int mq_close(mqd_t); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_close">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 13:28:16 +01:00
</arg>
</function>
2019-03-11 14:11:47 +01:00
<!-- int mq_getattr(mqd_t, struct mq_attr *); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_getattr">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- int mq_notify(mqd_t, const struct sigevent *); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_notify">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 13:28:16 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_open.html -->
<!-- mqd_t mq_open(const char *name, int oflag, ...); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_open">
2017-08-02 09:26:16 +02:00
<returnValue type = "mqd_t"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
<not-uninit/>
<strz/>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
<arg nr = "any"/>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_receive.html -->
<!-- ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_receive">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="out">
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "4" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_send.html -->
<!-- int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_send">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
<not-uninit/>
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
</arg>
<arg nr = "4" direction="in">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_setattr.html -->
<!-- int mq_setattr(mqd_t mqdes, const struct mq_attr *restrict mqstat, struct mq_attr *restrict omqstat); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_setattr">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
<arg nr = "3" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_receive.html -->
<!-- ssize_t mq_timedreceive(mqd_t mqdes, char *restrict msg_ptr, size_t msg_len, unsigned *restrict msg_prio, const struct timespec *restrict abstime); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_timedreceive">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="out">
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
</arg>
<arg nr = "4" direction="out"/>
<arg nr = "5" direction="in">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_send.html -->
<!-- int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abstime); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_timedsend">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
<not-uninit/>
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
</arg>
<arg nr = "5" direction="in">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- int mq_unlink(const char *name); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_unlink">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-03-15 13:28:16 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 13:28:16 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/dbm_clearerr.html -->
<!-- int dbm_clearerr(DBM *db); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_clearerr">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 12:56:24 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- void dbm_close(DBM *db); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_close">
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- int dbm_delete(DBM *db, datum key); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_delete">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 12:56:24 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 12:56:24 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- int dbm_error(DBM *db); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_error">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-15 12:56:24 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- datum dbm_fetch(DBM *db, datum key); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_fetch">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "datum"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-15 12:56:24 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 12:56:24 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- datum dbm_firstkey(DBM *db); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_firstkey">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "datum"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-15 12:56:24 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- datum dbm_nextkey(DBM *db); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_nextkey">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "datum"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-15 12:56:24 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- DBM *dbm_open(const char *file, int open_flags, mode_t file_mode); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_open">
2017-08-02 09:26:16 +02:00
<returnValue type = "DBM *"/>
2015-03-15 12:56:24 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-03-15 12:56:24 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 12:56:24 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- int dbm_store(DBM *db, datum key, datum content, int store_mode); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_store">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 12:56:24 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 12:56:24 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "4" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2017-07-17 15:17:20 +02:00
<!-- http://pubs.opengroup.org/onlinepubs/009695399/functions/freeaddrinfo.html -->
2015-02-21 11:08:58 +01:00
<!-- void freeaddrinfo(struct addrinfo *ai); -->
<function name = "freeaddrinfo">
<noreturn>false</noreturn>
<arg nr = "1">
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-11-21 20:24:30 +01:00
<not-null/>
<!-- not-null is not required by the resource above, but some systems will segfault -->
2015-02-21 11:08:58 +01:00
</arg>
</function>
2017-07-17 15:17:20 +02:00
<!-- http://pubs.opengroup.org/onlinepubs/009695399/functions/freeaddrinfo.html -->
2015-02-21 11:08:58 +01:00
<!-- int getaddrinfo(const char * nodename, const char * servname, const struct addrinfo * hints, struct addrinfo ** res); -->
<function name = "getaddrinfo">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-21 11:08:58 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "4" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-21 11:08:58 +01:00
</arg>
</function>
<!-- void endhostent(void); -->
<function name = "endhostent">
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<returnValue type = "void"/>
2015-02-21 11:08:58 +01:00
</function>
<!-- void sethostent(int stayopen); -->
<function name = "sethostent">
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<returnValue type = "void"/>
<arg nr = "1" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
</arg>
</function>
2015-04-05 23:23:39 +02:00
<!-- int uname(struct utsname *buf); -->
<function name = "uname">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-05 23:23:39 +02:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-05 23:23:39 +02:00
</arg>
</function>
2015-02-18 20:56:44 +01:00
<!--void endpwent(void); -->
<function name = "endpwent">
<noreturn>false</noreturn>
2019-01-29 23:20:44 +01:00
<returnValue type = "void"/>
2015-02-18 20:56:44 +01:00
</function>
<!--struct passwd *getpwent(void); -->
<function name = "getpwent">
2015-11-21 20:24:30 +01:00
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct passwd *"/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'getpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwent_r'.</warn>
2015-02-18 20:56:44 +01:00
</function>
<!--struct passwd *getpwnam(const char *); -->
<function name = "getpwnam">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct passwd *"/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'.</warn>
</function>
<!-- char *strtok(char *s, const char *ct); -->
<function name = "strtok,std::strtok">
2018-01-31 10:58:30 +01:00
<!-- Already configured in std.cfg. Add only a warning for POSIX that a
threadsafe function exists that should be used. -->
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'.</warn>
2015-02-18 20:56:44 +01:00
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/strtok.html -->
2015-04-04 23:59:05 +02:00
<!-- char *strtok_r(char *str, const char *delim, char **saveptr); -->
<function name = "strtok_r">
2015-11-21 20:24:30 +01:00
<!-- strtok may modify the first argument, so using the return value is not mandatory -->
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<pure/>
2015-04-04 23:59:05 +02:00
<leak-ignore/>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="inout">
2015-04-04 23:59:05 +02:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-04-04 23:59:05 +02:00
<not-null/>
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="inout">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/getpwnam.html -->
<!-- int getpwnam_r(const char *name, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result); -->
2015-02-18 20:56:44 +01:00
<function name = "getpwnam_r">
2015-11-21 16:10:46 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="out"/>
<arg nr = "3" direction="out">
<minsize type = "argvalue" arg="4"/>
</arg>
<arg nr = "4" direction="in">
2016-12-05 10:30:11 +01:00
<not-uninit/>
<valid>0:</valid>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "5" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-02-18 20:56:44 +01:00
</function>
<!-- struct passwd *getpwuid(uid_t uid); -->
<function name = "getpwuid">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct passwd *"/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-18 20:56:44 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'.</warn>
2015-02-18 20:56:44 +01:00
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/getpwuid.html -->
<!-- int getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result); -->
2015-02-18 20:56:44 +01:00
<function name = "getpwuid_r">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-18 20:56:44 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2016-10-18 17:01:05 +02:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="out"/>
<arg nr = "3" direction="out">
<minsize type = "argvalue" arg="4"/>
</arg>
<arg nr = "4" direction="in">
2016-10-21 09:59:38 +02:00
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2016-10-21 09:59:38 +02:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "5" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-02-18 20:56:44 +01:00
</function>
<!-- void setpwent(void); -->
<function name = "setpwent">
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<returnValue type = "void"/>
2015-02-18 20:56:44 +01:00
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/catclose.html -->
<!-- int catclose(nl_catd catd); -->
2015-03-15 12:56:24 +01:00
<function name = "catclose">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 12:56:24 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/catgets.html -->
<!-- char *catgets(nl_catd catd, int set_id, int msg_id, const char *s); -->
2015-03-15 12:56:24 +01:00
<function name = "catgets">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-03-15 12:56:24 +01:00
<use-retval/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-15 12:56:24 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "4" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/catopen.html -->
<!-- nl_catd catopen(const char *name, int oflag); -->
2015-03-15 12:56:24 +01:00
<function name = "catopen">
2017-08-02 09:26:16 +02:00
<returnValue type = "nl_catd"/>
2015-03-15 12:56:24 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-03-15 12:56:24 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 12:56:24 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2015-03-14 23:31:56 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.html -->
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/poll.html -->
<!-- int poll(struct pollfd fds[], nfds_t nfds, int timeout); -->
2015-03-14 23:31:56 +01:00
<function name = "poll">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-14 23:31:56 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="inout">
2015-03-14 23:31:56 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-14 23:31:56 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-03-14 23:31:56 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-14 23:31:56 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/regcomp.html -->
<!-- int regcomp(regex_t *restrict preg, const char *restrict pattern, int cflags); -->
2015-02-18 20:56:44 +01:00
<function name = "regcomp">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-18 20:56:44 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="out">
2015-02-18 20:56:44 +01:00
<not-null/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-18 20:56:44 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- size_t regerror(int errcode, const regex_t *restrict preg, char *restrict errbuf, size_t errbuf_size); -->
2015-02-18 20:56:44 +01:00
<function name = "regerror">
2017-08-02 09:26:16 +02:00
<returnValue type = "size_t"/>
2015-02-18 20:56:44 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="out">
<minsize type = "argvalue" arg="4"/>
</arg>
<arg nr = "4" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-18 20:56:44 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- int regexec(const regex_t *restrict preg, const char *restrict string, size_t nmatch, regmatch_t pmatch[restrict], int eflags); -->
2015-02-18 20:56:44 +01:00
<function name = "regexec">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-18 20:56:44 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-02-18 20:56:44 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-02-18 20:56:44 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-02-18 20:56:44 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "4" direction="out"/>
<arg nr = "5" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-18 20:56:44 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- void regfree(regex_t *preg); -->
2015-02-18 20:56:44 +01:00
<function name = "regfree">
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_get_priority_max.html -->
<!-- int sched_get_priority_max(int policy); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_get_priority_max">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
2019-03-12 09:17:43 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- int sched_get_priority_min(int policy); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_get_priority_min">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
2019-03-12 09:17:43 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_getparam.html -->
<!-- int sched_getparam(pid_t pid, struct sched_param *param); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_getparam">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
2019-03-12 09:17:43 +01:00
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2019-03-12 09:17:43 +01:00
<valid>0:</valid>
2015-02-20 20:50:20 +01:00
</arg>
2019-03-12 09:17:43 +01:00
<arg nr = "2" direction="out">
2015-02-20 20:50:20 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_getscheduler.html -->
<!-- int sched_getscheduler(pid_t pid); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_getscheduler">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
2019-03-12 09:17:43 +01:00
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-03-12 09:17:43 +01:00
<valid>0:</valid>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_rr_get_interval.html -->
<!-- int sched_rr_get_interval(pid_t pid, struct timespec *interval); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_rr_get_interval">
<noreturn>false</noreturn>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2019-03-12 09:17:43 +01:00
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
</arg>
2019-03-12 09:17:43 +01:00
<arg nr = "2" direction="out">
2015-02-20 20:50:20 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_setparam.html# -->
<!-- int sched_setparam(pid_t pid, const struct sched_param *param); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_setparam">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
2019-03-12 09:17:43 +01:00
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
</arg>
2019-03-12 09:17:43 +01:00
<arg nr = "2" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_setscheduler.html -->
<!-- int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_setscheduler">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
2019-03-12 09:17:43 +01:00
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2019-03-12 09:17:43 +01:00
<valid>0:</valid>
2015-02-20 20:50:20 +01:00
</arg>
2019-03-12 09:17:43 +01:00
<arg nr = "2" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
</arg>
2019-03-12 09:17:43 +01:00
<arg nr = "3" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_yield.html -->
<!-- int sched_yield(void); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_yield">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/009696799/functions/ecvt.html -->
2015-11-21 16:10:46 +01:00
<!-- char *ecvt(double value, int ndigit, int *restrict decpt, int *restrict sign);-->
<!-- LEGACY in POSIX.1-2001, removed in POSIX.1-2008-->
2015-03-01 20:18:26 +01:00
<function name = "ecvt">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-03-01 20:18:26 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-01 20:18:26 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-03-01 20:18:26 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="out">
2015-03-01 20:18:26 +01:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "4" direction="out">
2015-03-01 20:18:26 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-01 20:18:26 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="sprintf"/>
2015-03-01 20:18:26 +01:00
</function>
2015-11-21 16:10:46 +01:00
<!-- char *fcvt(double value, int ndigit, int *restrict decpt, int *restrict sign);-->
<!-- LEGACY in POSIX.1-2001, removed in POSIX.1-2008-->
2015-03-01 20:18:26 +01:00
<function name = "fcvt">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-03-01 20:18:26 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-01 20:18:26 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-03-01 20:18:26 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="out">
2015-03-01 20:18:26 +01:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "4" direction="out">
2015-03-01 20:18:26 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-01 20:18:26 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="sprintf"/>
2015-03-01 20:18:26 +01:00
</function>
2015-11-21 16:10:46 +01:00
<!-- char *gcvt(double value, int ndigit, char *buf);-->
<!-- LEGACY in POSIX.1-2001, removed in POSIX.1-2008-->
2015-03-01 20:18:26 +01:00
<function name = "gcvt">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-03-01 20:18:26 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-01 20:18:26 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-03-01 20:18:26 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="out">
2015-03-01 20:18:26 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-01 20:18:26 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="sprintf"/>
2015-03-01 20:18:26 +01:00
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/lseek.html -->
2015-03-10 14:40:12 +01:00
<!-- off_t lseek(int fildes, off_t offset, int whence); -->
<function name = "lseek">
2017-08-02 09:26:16 +02:00
<returnValue type = "off_t"/>
2015-03-10 14:40:12 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
</arg>
</function>
<!-- int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); -->
<function name = "nanosleep">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-10 14:40:12 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-10 14:40:12 +01:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-10 14:40:12 +01:00
</function>
2015-03-08 14:24:54 +01:00
<!-- void setkey(const char *key); -->
<function name = "setkey">
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<returnValue type = "void"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-08 14:24:54 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-08 14:24:54 +01:00
</arg>
2015-03-10 14:40:12 +01:00
</function>
<!-- char *getpass(const char *prompt); -->
<function name = "getpass">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-03-10 14:40:12 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-10 14:40:12 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-10 14:40:12 +01:00
</arg>
2015-03-08 14:24:54 +01:00
</function>
2015-03-21 12:26:07 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdlib.h.html -->
2016-10-18 17:01:05 +02:00
<!-- double drand48(void); -->
2015-03-21 12:26:07 +01:00
<function name = "drand48">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "double"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-21 12:26:07 +01:00
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/putenv.html -->
2015-03-21 12:26:07 +01:00
<!-- int putenv(char *string); -->
<function name = "putenv">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-21 12:26:07 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-21 12:26:07 +01:00
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/setenv.html -->
2015-03-21 12:26:07 +01:00
<!-- int setenv(const char *envname, const char *envval, int overwrite); -->
<function name = "setenv">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-21 12:26:07 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-21 12:26:07 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-21 12:26:07 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-03-21 12:26:07 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-21 12:26:07 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2015-03-21 12:26:07 +01:00
<not-uninit/>
</arg>
</function>
<!-- int unsetenv(const char *name); -->
<function name = "unsetenv">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-21 12:26:07 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
</function>
<!-- struct tm * localtime(const time_t *tp); -->
<function name = "localtime,std::localtime">
<noreturn>false</noreturn>
2017-08-02 09:26:16 +02:00
<returnValue type = "struct tm *"/>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-21 12:26:07 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-21 12:26:07 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'.</warn>
2015-03-21 12:26:07 +01:00
</function>
2015-04-04 23:59:05 +02:00
<!-- struct tm *localtime_r(const time_t *timep, struct tm *result); -->
<function name = "localtime_r">
<noreturn>false</noreturn>
2017-08-02 09:26:16 +02:00
<returnValue type = "struct tm *"/>
2015-04-04 23:59:05 +02:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/readdir.html -->
2015-11-21 20:24:30 +01:00
<!-- struct dirent *readdir(DIR *dirp); -->
<function name = "readdir">
2017-08-02 09:26:16 +02:00
<returnValue type = "struct dirent *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'.</warn>
</function>
2015-04-04 23:59:05 +02:00
<!-- int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result); -->
<function name = "readdir_r">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-04 23:59:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/readlink.html -->
2015-04-04 23:59:05 +02:00
<!-- ssize_t readlink(const char *path, char *buf, size_t bufsiz); -->
<function name = "readlink">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2015-04-04 23:59:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-04 23:59:05 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-09 18:20:45 +02:00
<minsize type = "argvalue" arg="3"/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2015-04-04 23:59:05 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-04-04 23:59:05 +02:00
</arg>
</function>
<!-- int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz); -->
<function name = "readlinkat">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-04 23:59:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-04 23:59:05 +02:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-04-04 23:59:05 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-09 18:20:45 +02:00
<minsize type = "argvalue" arg="4"/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "4" direction="in">
2015-04-04 23:59:05 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/asctime.html -->
2015-04-04 23:59:05 +02:00
<!-- char *asctime_r(const struct tm *tm, char *buf); -->
<function name = "asctime_r">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-04-04 23:59:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-04 23:59:05 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-03-17 14:22:26 +01:00
<minsize type = "value" value="26"/>
2015-04-04 23:59:05 +02:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="strftime"/>
2015-04-04 23:59:05 +02:00
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/ctime.html -->
2015-04-04 23:59:05 +02:00
<!-- char *ctime_r(const time_t *timep, char *buf); -->
<function name = "ctime_r">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-04-04 23:59:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-04 23:59:05 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-03-17 14:22:26 +01:00
<minsize type = "value" value="26"/>
2015-04-04 23:59:05 +02:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="strftime"/>
2015-04-04 23:59:05 +02:00
</function>
<!-- struct tm *gmtime_r(const time_t *timep, struct tm *result); -->
<function name = "gmtime_r">
2017-08-02 09:26:16 +02:00
<returnValue type = "struct tm *"/>
2015-04-04 23:59:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-04 23:59:05 +02:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/gmtime.html -->
2015-11-21 20:24:30 +01:00
<!-- struct tm * gmtime(const time_t *tp); -->
<function name = "gmtime">
2017-08-02 09:26:16 +02:00
<returnValue type = "struct tm *"/>
2015-11-21 20:24:30 +01:00
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'.</warn>
</function>
2015-03-11 18:59:34 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/007908799/xsh/time.h.html -->
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_settime.html -->
2015-03-11 18:59:34 +01:00
<!-- int clock_settime(clockid_t clock_id, const struct timespec *tp); -->
<function name = "clock_settime">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-11 18:59:34 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-11 18:59:34 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-03-11 18:59:34 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-11 18:59:34 +01:00
</arg>
</function>
2015-04-05 23:15:23 +02:00
<!-- int killpg(int pgrp, int sig); -->
<function name = "killpg">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-05 23:15:23 +02:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-05 23:15:23 +02:00
</arg>
</function>
<!-- int kill(pid_t pid, int sig); -->
<function name = "kill">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-05 23:15:23 +02:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-05 23:15:23 +02:00
</arg>
</function>
2015-03-11 18:59:34 +01:00
<!-- int clock_gettime(clockid_t clock_id, struct timespec *tp); -->
<function name = "clock_gettime">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-11 18:59:34 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-11 18:59:34 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-03-11 18:59:34 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-11 18:59:34 +01:00
</arg>
</function>
<!-- int clock_getres(clockid_t clock_id, struct timespec *res); -->
<function name = "clock_getres">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-11 18:59:34 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-11 18:59:34 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-11 18:59:34 +01:00
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/tmpnam.html -->
2015-11-21 20:24:30 +01:00
<!-- char* tmpnam(char *s); -->
<function name = "tmpnam,tmpnam_r">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
2015-11-22 13:34:40 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="tmpfile,mkstemp,mkdtemp"/>
2015-11-21 20:24:30 +01:00
</function>
<!-- void makecontext(ucontext_t *ucp, void (*func)(), int argc, ...); -->
<function name = "makecontext">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
</arg>
<arg nr = "2">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2015-11-21 20:24:30 +01:00
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
<arg nr = "any"/>
<warn severity = "portability">Obsolescent function 'makecontext' called. Applications are recommended to be rewritten to use POSIX threads.</warn>
</function>
<!-- void swapcontext(ucontext_t *restrict oucp, const ucontext_t *restrict ucp); -->
<function name = "swapcontext">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
</arg>
<arg nr = "2">
<not-null/>
</arg>
<warn severity = "portability">Obsolescent function 'swapcontext' called. Applications are recommended to be rewritten to use POSIX threads.</warn>
</function>
<!-- void getcontext(ucontext_t *ucp); -->
<function name = "getcontext">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
</arg>
<warn severity = "portability">Obsolescent function 'getcontext' called. Applications are recommended to be rewritten to use POSIX threads.</warn>
</function>
<!-- useconds_t ualarm(useconds_t useconds, useconds_t interval); -->
<function name = "ualarm">
2017-08-02 09:26:16 +02:00
<returnValue type = "useconds_t"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="timer_create,timer_delete,timer_getoverrun,timer_gettime,timer_settime"/>
</function>
<!-- double scalb(double x, double n); -->
<function name = "scalb">
2017-08-02 09:26:16 +02:00
<returnValue type = "double"/>
2015-11-21 20:24:30 +01:00
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="scalbln,scalblnf,scalbln,scalbn,scalbnf,scalbnl"/>
</function>
<!-- void bcopy(const void *s1, void *s2, size_t n); -->
<function name = "bcopy">
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
2017-12-08 14:53:14 +01:00
<minsize type = "argvalue" arg="3"/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-11-21 20:24:30 +01:00
<not-null/>
2019-03-12 11:41:10 +01:00
<minsize type = "argvalue" arg="3"/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="memcpy,memmove"/>
</function>
2019-03-12 11:41:10 +01:00
<!-- int bcmp(const void *s1, const void *s2, size_t n); -->
2015-11-21 20:24:30 +01:00
<function name = "bcmp">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="memcmp"/>
</function>
<!-- void bzero(void *s, size_t n); -->
<function name = "bzero">
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2015-11-21 20:24:30 +01:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="memset"/>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/007904875/functions/ftime.html -->
2015-11-21 20:24:30 +01:00
<!-- int ftime(struct timeb *tp); -->
<function name = "ftime">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="time,gettimeofday,clock_gettime"/>
</function>
<!-- wchar_t *wcswcs(const wchar_t *ws1, const wchar_t *ws2); -->
<function name = "wcswcs">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "wchar_t *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="wcsstr"/>
</function>
2016-01-21 16:14:59 +01:00
<!-- char *stpcpy(char *desstr, const char *srcstr); -->
<function name = "stpcpy">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2016-01-21 16:14:59 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2016-01-21 16:14:59 +01:00
<not-null/>
<minsize type = "strlen" arg="2"/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2016-01-21 16:14:59 +01:00
<not-null/>
<not-uninit/>
<strz/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-21 16:14:59 +01:00
</arg>
</function>
2015-11-21 20:24:30 +01:00
<!-- char *index(const char *s, int c); -->
<function name = "index">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="strchr"/>
</function>
<!-- char *rindex(const char *s, int c); -->
<function name = "rindex">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="strrchr"/>
</function>
<!-- sighandler_t bsd_signal(int signum, sighandler_t handler); -->
<function name = "bsd_signal">
2017-08-02 09:26:16 +02:00
<returnValue type = "sighandler_t"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="sigaction"/>
</function>
2017-06-02 22:58:39 +02:00
<!-- pid_t fork(void); -->
<function name = "fork">
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2017-06-02 22:58:39 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
</function>
2015-11-21 20:24:30 +01:00
<!-- pid_t vfork(void); -->
<function name = "vfork">
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<warn severity = "style" reason="Obsolescent" alternatives="fork"/>
</function>
2017-06-02 22:58:39 +02:00
<!-- int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)); -->
<function name = "pthread_atfork">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2017-06-02 22:58:39 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "3"/>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_cond_broadcast.html -->
2019-01-29 23:20:44 +01:00
<!-- 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>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_create.html -->
2017-06-02 22:58:39 +02:00
<!-- int pthread_create(pthread_t * thread, const pthread_attr_t * attr, void *(*start_routine)(void*), void * arg); -->
<function name = "pthread_create">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2017-06-08 22:33:41 +02:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2017-06-02 22:58:39 +02:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in"/>
2017-06-02 22:58:39 +02:00
<arg nr = "3">
<not-null/>
</arg>
<arg nr = "4"/>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_detach.html -->
<!-- int pthread_detach(pthread_t thread); -->
2017-06-02 22:58:39 +02:00
<function name = "pthread_detach">
2017-06-08 22:33:41 +02:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<returnValue type = "int"/>
<arg nr = "1" direction="in">
2017-06-02 22:58:39 +02:00
<not-uninit/>
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_equal.html -->
<!-- int pthread_equal(pthread_t t1, pthread_t t2); -->
2017-06-02 22:58:39 +02:00
<function name = "pthread_equal">
2017-06-08 22:33:41 +02:00
<noreturn>false</noreturn>
2017-06-02 22:58:39 +02:00
<use-retval/>
2019-03-12 11:41:10 +01:00
<returnValue type = "int"/>
<arg nr = "1" direction="in">
2017-06-02 22:58:39 +02:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2017-06-02 22:58:39 +02:00
<not-uninit/>
</arg>
</function>
<function name = "pthread_exit">
<noreturn>true</noreturn>
<arg nr = "1"/>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_join.html -->
2017-06-02 22:58:39 +02:00
<!-- int pthread_join(pthread_t thread, void **value_ptr); -->
<function name = "pthread_join">
2017-06-08 22:33:41 +02:00
<noreturn>false</noreturn>
2017-10-05 11:38:11 +02:00
<returnValue type = "int"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2017-06-02 22:58:39 +02:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
<not-bool/>
</arg>
2017-06-02 22:58:39 +02:00
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_kill.html -->
<!-- int pthread_kill(pthread_t thread, int sig); -->
2017-06-08 22:33:41 +02:00
<function name = "pthread_kill">
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<returnValue type = "int"/>
<arg nr = "1" direction="in">
2017-06-08 22:33:41 +02:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2017-06-08 22:33:41 +02:00
<not-uninit/>
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_self.html -->
<!-- pthread_t pthread_self(void); -->
2017-06-02 22:58:39 +02:00
<function name = "pthread_self">
2017-06-08 22:33:41 +02:00
<noreturn>false</noreturn>
2017-06-02 22:58:39 +02:00
<use-retval/>
2019-03-12 11:41:10 +01:00
<returnValue type = "pthread_t"/>
2017-06-02 22:58:39 +02:00
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_attr_destroy.html -->
<!-- int pthread_attr_destroy(pthread_attr_t *attr); -->
2017-06-08 22:33:41 +02:00
<function name = "pthread_attr_destroy">
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<returnValue type = "int"/>
<arg nr = "1" direction="inout">
2017-06-08 22:33:41 +02:00
<not-null/>
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- int pthread_attr_init(pthread_attr_t *attr); -->
2017-06-08 22:33:41 +02:00
<function name = "pthread_attr_init">
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<returnValue type = "int"/>
<arg nr = "1" direction="out">
2017-06-08 22:33:41 +02:00
<not-null/>
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_attr_getstackaddr.html -->
2015-11-21 20:24:30 +01:00
<!-- int pthread_attr_setstackaddr(pthread_attr_t *attr, void *stackaddr); -->
<function name = "pthread_attr_setstackaddr">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2015-11-21 20:24:30 +01:00
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2015-11-21 20:24:30 +01:00
</arg>
<arg nr = "2">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="pthread_attr_setstack"/>
</function>
<!-- int pthread_attr_getstackaddr(const pthread_attr_t *attr, void **stackaddr); -->
<function name = "pthread_attr_getstackaddr">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2015-11-21 20:24:30 +01:00
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2015-11-21 20:24:30 +01:00
</arg>
<arg nr = "2">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="pthread_attr_getstack"/>
</function>
2018-08-08 12:22:09 +02:00
<!-- int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize); -->
<!-- int pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize); -->
<function name = "pthread_attr_setstacksize,pthread_attr_setguardsize">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2018-08-08 12:22:09 +02:00
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<!-- int pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize); -->
<!-- int pthread_attr_getguardsize(const pthread_attr_t *attr, size_t *guardsize); -->
<function name = "pthread_attr_getstacksize,pthread_attr_getguardsize">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2018-08-08 12:22:09 +02:00
<not-null/>
<not-bool/>
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_init.html -->
2018-07-21 17:52:12 +02:00
<!-- int pthread_mutex_init(pthread_mutex_t *restrict mutex, const pthread_mutexattr_t *restrict attr); -->
<function name = "pthread_mutex_init">
<noreturn>false</noreturn>
<returnValue type = "int"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2018-07-21 17:52:12 +02:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2018-07-21 17:52:12 +02:00
<!-- NULL is valid -->
</arg>
</function>
<!-- int pthread_mutex_destroy(pthread_mutex_t *mutex); -->
<function name = "pthread_mutex_destroy">
<noreturn>false</noreturn>
<returnValue type = "int"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="inout">
2018-07-21 17:52:12 +02:00
<not-null/>
<not-uninit/>
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_lock.html -->
2018-07-21 17:52:12 +02:00
<!-- int pthread_mutex_lock(pthread_mutex_t *mutex); -->
<function name = "pthread_mutex_lock">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="inout">
2018-07-21 17:52:12 +02:00
<not-null/>
<not-uninit/>
2019-03-12 11:41:10 +01:00
<not-bool/>
2018-07-21 17:52:12 +02:00
</arg>
</function>
<!-- int pthread_mutex_trylock(pthread_mutex_t *mutex); -->
<function name = "pthread_mutex_trylock">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="inout">
2018-07-21 17:52:12 +02:00
<not-null/>
<not-uninit/>
2019-03-12 11:41:10 +01:00
<not-bool/>
2018-07-21 17:52:12 +02:00
</arg>
</function>
<!-- int pthread_mutex_unlock(pthread_mutex_t *mutex); -->
<function name = "pthread_mutex_unlock">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="inout">
2018-07-21 17:52:12 +02:00
<not-null/>
<not-uninit/>
2019-03-12 11:41:10 +01:00
<not-bool/>
2018-07-21 17:52:12 +02:00
</arg>
</function>
2015-11-21 20:24:30 +01:00
<!-- char *tempnam(const char *dir, const char *pfx); -->
<function name = "tempnam">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-22 13:34:40 +01:00
<not-uninit/>
2019-03-12 11:41:10 +01:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-03-12 11:41:10 +01:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'tempnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'tempnam_r'.</warn>
</function>
<!-- char *crypt(const char *key, const char *salt); -->
<function name = "crypt">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2019-03-12 11:41:10 +01:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-03-12 11:41:10 +01:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'.</warn>
</function>
<!-- char *ttyname(int fd); -->
<function name = "ttyname">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'.</warn>
</function>
<!-- struct spwd *getspnam(const char *name); -->
<function name = "getspnam">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct spwd *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getspnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getspnam_r'.</warn>
</function>
<!-- struct spwd *getspent(void); -->
<function name = "getspent">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct spwd *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<warn severity = "portability">Non reentrant function 'getspent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getspent_r'.</warn>
</function>
<!-- struct spwd *fgetspent(FILE *fp); -->
<function name = "fgetspent">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct spwd *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'fgetspent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'fgetspent_r'.</warn>
</function>
<!-- struct spwd *sgetspent(const char *s); -->
<function name = "sgetspent">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct spwd *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'sgetspent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'sgetspent_r'.</warn>
</function>
<!-- struct passwd *fgetpwent(FILE *stream); -->
<function name = "fgetpwent">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct passwd *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'fgetpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'fgetpwent_r'.</warn>
</function>
<!-- struct group *getgrent(void); -->
<function name = "getgrent">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct group *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<warn severity = "portability">Non reentrant function 'getgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrent_r'.</warn>
</function>
2016-10-18 17:01:05 +02:00
<!-- int getgrent_r(struct group *gbuf, char *buf, size_t buflen, struct group **gbufp) -->
<function name = "getgrent_r">
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-18 17:01:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out"/>
<arg nr = "2" direction="out">
<minsize type = "argvalue" arg="3"/>
2016-10-18 17:01:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2016-12-05 10:30:11 +01:00
<not-uninit/>
<valid>0:</valid>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "4" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-10-18 17:01:05 +02:00
</function>
2015-11-21 20:24:30 +01:00
<!-- struct group *fgetgrent(FILE *stream); -->
<function name = "fgetgrent">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct group *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'fgetgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'fgetgrent_r'.</warn>
</function>
<!-- int getnetgrent(char **host, char **user, char **domain); -->
<function name = "getnetgrent">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2015-11-21 20:24:30 +01:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-11-21 20:24:30 +01:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="out">
2015-11-21 20:24:30 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getnetgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getnetgrent_r'.</warn>
</function>
<!-- struct group *getgrnam(const char *name); -->
<function name = "getgrnam">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct group *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'.</warn>
</function>
<!-- struct group *getgrgid(gid_t gid); -->
<function name = "getgrgid">
2017-08-02 14:11:50 +02:00
<returnValue type = "struct group *"/>
2015-11-22 13:34:40 +01:00
<use-retval/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'.</warn>
</function>
<!-- char *getlogin(void); -->
<function name = "getlogin">
2017-08-02 14:11:50 +02:00
<returnValue type = "char *"/>
2015-11-22 13:34:40 +01:00
<use-retval/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<warn severity = "portability">Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'.</warn>
</function>
<!-- char *ctermid(char *s); -->
<function name = "ctermid">
2017-08-02 14:11:50 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'ctermid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ctermid_r'.</warn>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html -->
2016-01-11 14:54:01 +01:00
<!-- char *realpath(const char *path, char *resolved_path); -->
<function name = "realpath">
2017-08-02 14:11:50 +02:00
<returnValue type = "char *"/>
2016-01-11 14:54:01 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-11 16:34:47 +01:00
<not-uninit/>
2016-01-11 14:54:01 +01:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-01-11 14:54:01 +01:00
</function>
2016-01-11 20:35:56 +01:00
<!-- int fileno(FILE *stream);-->
<function name = "fileno">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-11 20:35:56 +01:00
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-11 20:35:56 +01:00
</arg>
</function>
2016-01-12 17:00:33 +01:00
<!-- int fseeko(FILE *stream, off_t offset, int whence); -->
<function name = "fseeko">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-12 17:00:33 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2016-01-14 12:30:12 +01:00
<not-uninit/>
2016-01-12 17:00:33 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2016-01-14 12:30:12 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-12 17:00:33 +01:00
</arg>
</function>
<!-- off_t ftello(FILE *stream); -->
<function name = "ftello">
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "off_t"/>
2016-01-12 17:00:33 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-12 17:00:33 +01:00
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/exec.html -->
2016-01-13 11:57:21 +01:00
<!-- int execv(const char *path, char *const argv[]);
int execvp(const char *file, char *const argv[]); -->
<function name = "execv,execvp">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-13 11:57:21 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-13 11:57:21 +01:00
<not-null/>
<not-uninit/>
2017-06-02 22:58:39 +02:00
<strz/>
2016-01-13 11:57:21 +01:00
</arg>
<arg nr = "2">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-13 11:57:21 +01:00
</arg>
</function>
<!-- pid_t wait(int *stat_loc); -->
<function name = "wait">
2017-08-02 14:11:50 +02:00
<returnValue type = "pid_t"/>
2016-01-13 11:57:21 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-01-13 11:57:21 +01:00
</function>
<!-- pid_t waitpid(pid_t pid, int *stat_loc, int options); -->
<function name = "waitpid">
2017-08-02 14:11:50 +02:00
<returnValue type = "pid_t"/>
2016-01-13 11:57:21 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-13 11:57:21 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out"/>
<arg nr = "3" direction="in">
2016-01-13 11:57:21 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-13 11:57:21 +01:00
</arg>
</function>
2016-01-21 15:48:08 +01:00
<!-- see http://man7.org/linux/man-pages/man3/wcsnlen.3.html-->
<!-- size_t wcsnlen(const wchar_t *s, size_t maxlen);-->
<!-- see http://man7.org/linux/man-pages/man3/strnlen.3.html-->
<!-- size_t strnlen(const char *s, size_t maxlen); -->
<function name = "strnlen,wcsnlen">
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "size_t"/>
2016-01-21 15:48:08 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-21 15:48:08 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2016-01-21 15:48:08 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2016-01-21 15:48:08 +01:00
</arg>
</function>
2016-01-22 10:40:04 +01:00
<!-- http://man7.org/linux/man-pages/man3/ffs.3.html -->
<!-- int ffs(int i); -->
<function name = "ffs">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-22 10:40:04 +01:00
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
</function>
2016-01-30 18:14:08 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/shmctl.html -->
2016-01-22 10:40:04 +01:00
<!-- int shmctl(int shmid, int cmd, struct shmid_ds *buf); -->
<function name = "shmctl">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-22 10:40:04 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2019-03-12 11:41:10 +01:00
</arg>
<arg nr = "3">
<!-- direction (in/out) depends on the value of arg2 "cmd" -->
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
</function>
2016-01-30 18:14:08 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/009695399/functions/shmget.html -->
2016-01-22 10:40:04 +01:00
<!-- int shmget(key_t key, size_t size, int shmflg); -->
<function name = "shmget">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-22 10:40:04 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2016-01-22 10:40:04 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/shmat.2.html -->
<!-- void *shmat(int shmid, const void *shmaddr, int shmflg); -->
<function name = "shmat">
<noreturn>false</noreturn>
2017-10-05 11:38:11 +02:00
<returnValue type = "void *"/>
2016-01-22 10:40:04 +01:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in"/>
<arg nr = "3" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/shmat.2.html -->
<!-- int shmdt(const void *shmaddr);-->
<function name = "shmdt">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-22 10:40:04 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-01-22 10:40:04 +01:00
</function>
<!-- http://man7.org/linux/man-pages/man2/setrlimit.2.html -->
<!-- int getrlimit(int resource, struct rlimit *rlim); -->
<function name = "getrlimit">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-22 10:40:04 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2016-01-22 10:40:04 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/setrlimit.2.html -->
<!-- int setrlimit(int resource, const struct rlimit *rlim); -->
<function name = "setrlimit">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-22 10:40:04 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
</function>
2016-05-19 11:51:49 +02:00
<!-- http://man7.org/linux/man-pages/man3/glob.3.html -->
<!-- int glob(const char *pattern, int flags, int (*errfunc) (const char *epath, int eerrno), glob_t *pglob);-->
<function name = "glob">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-05-19 11:51:49 +02:00
<noreturn>false</noreturn>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-05-19 11:51:49 +02:00
<not-uninit/>
<not-null/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-05-19 11:51:49 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2016-05-19 13:21:05 +02:00
<not-uninit/>
2016-05-19 11:51:49 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "4" direction="out">
2016-05-19 11:51:49 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-05-19 11:51:49 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/glob.3.html -->
<!-- void globfree(glob_t *pglob)-->
<function name = "globfree">
<noreturn>false</noreturn>
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2016-05-19 11:51:49 +02:00
<arg nr = "1">
<not-uninit/>
<not-null/>
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/wcpncpy.html -->
2017-12-08 21:28:48 +01:00
<!-- http://man7.org/linux/man-pages/man3/wcpncpy.3.html -->
<!-- wchar_t *wcpncpy(wchar_t *dest, const wchar_t *src, size_t n); -->
<function name = "wcpncpy">
<returnValue type = "wchar_t *"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out">
2017-12-08 21:28:48 +01:00
<not-null/>
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-12-08 21:28:48 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2017-12-08 21:28:48 +01:00
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
2017-12-08 21:36:54 +01:00
<!-- http://man7.org/linux/man-pages/man3/stpncpy.3.html -->
<!-- char *stpncpy(char *dest, const char *src, size_t n); -->
<function name = "stpncpy">
<returnValue type = "char *"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out">
2017-12-08 21:36:54 +01:00
<not-null/>
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-12-08 21:36:54 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2017-12-08 21:36:54 +01:00
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
2016-12-05 16:46:49 +01:00
<!-- http://man7.org/linux/man-pages/man3/memccpy.3.html -->
<!-- void *memccpy(void *dest, const void *src, int c, size_t n);-->
<function name = "memccpy">
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "void *"/>
2016-12-05 16:46:49 +01:00
<noreturn>false</noreturn>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out">
2016-12-05 16:46:49 +01:00
<not-null/>
<minsize type = "sizeof" arg="2"/>
<minsize type = "argvalue" arg="4"/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-12-05 16:46:49 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2016-12-05 16:46:49 +01:00
<not-uninit/>
<valid>0:</valid>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "4" direction="in">
2016-12-05 16:46:49 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 16:46:49 +01:00
<valid>0:</valid>
</arg>
</function>
2016-10-21 11:43:01 +02:00
<!-- http://man7.org/linux/man-pages/man3/opterr.3.html-->
<!-- int getopt(int argc, char * const argv[], const char *optstring); -->
<function name = "getopt">
<leak-ignore/>
2019-02-05 21:30:30 +01:00
<noreturn>false</noreturn>
<returnValue type = "int"/>
<use-retval/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "2">
<not-uninit/>
<not-null/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/setitimer.2.html-->
<!-- int getitimer(int which, struct itimerval *curr_value); -->
<function name = "getitimer">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="out">
2016-10-21 11:43:01 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/setitimer.2.html-->
<!-- int setitimer(int which, const struct itimerval *new_value, struct itimerval *old_value); -->
<function name = "setitimer">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="out">
2016-10-21 11:43:01 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/sigaction.2.html -->
<!-- int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact); -->
<function name = "sigaction">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in"/>
<arg nr = "3" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-10-21 11:43:01 +02:00
</function>
2016-12-04 12:24:26 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/sigaltstack.html -->
<!-- int sigaltstack(const stack_t *restrict ss, stack_t *restrict oss); -->
<function name = "sigaltstack">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-12-04 12:24:26 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-12-04 12:24:26 +01:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-12-04 12:24:26 +01:00
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/siglongjmp.html -->
2017-08-02 14:11:50 +02:00
<!-- void siglongjmp(sigjmp_buf env, int val); -->
2017-06-02 22:58:39 +02:00
<function name = "siglongjmp,_longjmp">
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2017-05-29 00:47:24 +02:00
<noreturn>true</noreturn>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-05-29 00:47:24 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-05-29 00:47:24 +02:00
<not-uninit/>
</arg>
</function>
2016-12-04 12:24:26 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/sigsetjmp.html -->
<!-- int sigsetjmp(sigjmp_buf env, int savemask); -->
2017-06-02 22:58:39 +02:00
<function name = "sigsetjmp,_setjmp">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-12-04 12:24:26 +01:00
<noreturn>false</noreturn>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out"/>
<arg nr = "2" direction="in">
2016-12-04 12:24:26 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-04 12:24:26 +01:00
</arg>
</function>
2017-08-02 14:11:50 +02:00
<!-- int sigsuspend(const sigset_t *mask);-->
2017-06-08 22:33:41 +02:00
<function name = "sigsuspend">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2017-06-08 22:33:41 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-06-08 22:33:41 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-06-08 22:33:41 +02:00
</arg>
</function>
2016-12-04 12:24:26 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/sigprocmask.html -->
<!-- int pthread_sigmask(int how, const sigset_t *restrict set,
sigset_t *restrict oset);
int sigprocmask(int how, const sigset_t *restrict set,
sigset_t *restrict oset); -->
2016-12-04 19:15:32 +01:00
<function name = "pthread_sigmask,sigprocmask">
2016-12-04 12:24:26 +01:00
<noreturn>false</noreturn>
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-12-04 12:24:26 +01:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-12-04 12:24:26 +01:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="out">
2016-12-04 12:24:26 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-04 12:24:26 +01:00
</arg>
2016-12-04 19:15:32 +01:00
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/getrusage.html -->
2016-10-21 11:43:01 +02:00
<!-- http://man7.org/linux/man-pages/man2/getrusage.2.html-->
<!-- int getrusage(int who, struct rusage *usage);-->
<function name = "getrusage">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="out">
2016-10-21 11:43:01 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigemptyset.html -->
2016-10-21 11:43:01 +02:00
<!-- http://man7.org/linux/man-pages/man3/sigsetops.3.html -->
<!-- int sigemptyset(sigset_t *set); -->
<function name = "sigemptyset">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out">
2016-10-21 11:43:01 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigfillset.html -->
2016-10-21 11:43:01 +02:00
<!-- http://man7.org/linux/man-pages/man3/sigsetops.3.html -->
<!-- int sigfillset(sigset_t *set); -->
<function name = "sigfillset">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out">
2016-10-21 11:43:01 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigaddset.html -->
2016-10-21 11:43:01 +02:00
<!-- http://man7.org/linux/man-pages/man3/sigsetops.3.html -->
<!-- int sigaddset(sigset_t *set, int signum); -->
<function name = "sigaddset">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="inout">
<not-uninit/>
2016-10-21 11:43:01 +02:00
<not-null/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigdelset.html -->
2016-10-21 11:43:01 +02:00
<!-- http://man7.org/linux/man-pages/man3/sigsetops.3.html -->
<!-- int sigdelset(sigset_t *set, int signum);-->
<function name = "sigdelset">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="inout">
2016-10-21 11:43:01 +02:00
<not-null/>
2019-03-12 13:35:06 +01:00
<not-uninit/>
2016-10-21 11:43:01 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
2019-02-05 21:30:30 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/000095399/functions/sigismember.html -->
2016-10-21 11:43:01 +02:00
<!-- int sigismember(const sigset_t *set, int signum);-->
<function name = "sigismember">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-02-05 21:30:30 +01:00
<use-retval/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-10-21 11:43:01 +02:00
<not-null/>
2019-03-12 13:35:06 +01:00
<not-uninit/>
2016-10-21 11:43:01 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_spawn.html -->
2017-08-02 14:11:50 +02:00
<!-- int posix_spawn(pid_t *restrict pid, const char *restrict path,
const posix_spawn_file_actions_t *file_actions,
const posix_spawnattr_t *restrict attrp,
char *const argv[restrict], char *const envp[restrict]);
int posix_spawnp(pid_t *restrict pid, const char *restrict file,
const posix_spawn_file_actions_t *file_actions,
const posix_spawnattr_t *restrict attrp,
char *const argv[restrict], char * const envp[restrict]); -->
2017-06-02 22:58:39 +02:00
<function name = "posix_spawn,posix_spawnp">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2017-06-02 22:58:39 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out"/>
<arg nr = "2" direction="in"/>
<arg nr = "3" direction="in"/>
<arg nr = "4" direction="in"/>
<arg nr = "5"/>
2018-05-08 09:30:08 +02:00
<arg nr = "6">
<not-bool/>
</arg>
2017-06-02 22:58:39 +02:00
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/msgctl.html -->
2017-08-02 14:11:50 +02:00
<!-- int msgctl(int msqid, int cmd, struct msqid_ds *buf); -->
2017-06-06 23:21:05 +02:00
<function name = "msgctl">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2017-06-06 23:21:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
</arg>
<arg nr = "3">
2019-03-12 13:35:06 +01:00
<!-- direction (in/out) depends on the value of arg2 "cmd" -->
2017-06-06 23:21:05 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/msgget.html -->
2017-08-02 14:11:50 +02:00
<!-- int msgget(key_t key, int msgflg);-->
2017-06-06 23:21:05 +02:00
<function name = "msgget">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2017-06-06 23:21:05 +02:00
<noreturn>false</noreturn>
<use-retval/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/msgrcv.html -->
2017-08-02 14:11:50 +02:00
<!-- ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp,
int msgflg); -->
2017-06-06 23:21:05 +02:00
<function name = "msgrcv">
2017-08-02 14:11:50 +02:00
<returnValue type = "ssize_t"/>
2017-06-06 23:21:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="out">
2017-06-06 23:21:05 +02:00
<not-null/>
2019-03-12 13:35:06 +01:00
<minsize type = "argvalue" arg="3"/>
<!-- TODO: sizeof(long) must be added to this value, but this can not be configured yet -->
2017-06-06 23:21:05 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2019-03-12 13:35:06 +01:00
<valid>0:</valid>
2017-06-06 23:21:05 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "4" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "5" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/msgsnd.html -->
2017-08-02 14:11:50 +02:00
<!-- int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); -->
2017-06-06 23:21:05 +02:00
<function name = "msgsnd">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2017-06-06 23:21:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-06-06 23:21:05 +02:00
<not-null/>
2019-03-12 13:35:06 +01:00
<not-uninit/>
<minsize type = "argvalue" arg="3"/>
<!-- TODO: sizeof(long) must be added to this value, but this can not be configured yet -->
2017-06-06 23:21:05 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2019-03-12 13:35:06 +01:00
<valid>0:</valid>
2017-06-06 23:21:05 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "4" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
</function>
2017-09-19 21:25:19 +02:00
<!-- http://man7.org/linux/man-pages/man3/tcflow.3p.html -->
<!-- int tcflow(int fildes, int action); -->
<function name = "tcflow">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-09-19 21:25:19 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-09-19 21:25:19 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-09-19 21:25:19 +02:00
</arg>
</function>
2017-09-19 15:10:37 +02:00
<!-- http://man7.org/linux/man-pages/man3/tcflush.3p.html -->
<!-- int tcflush(int fildes, int queue_selector); -->
<function name = "tcflush">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-09-19 15:10:37 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcsendbreak.html -->
2017-09-19 21:25:19 +02:00
<!-- http://man7.org/linux/man-pages/man3/tcsendbreak.3p.html -->
<!-- int tcsendbreak(int fildes, int duration); -->
<function name = "tcsendbreak">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-09-19 21:25:19 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-09-19 21:25:19 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcgetattr.html -->
2017-09-19 15:10:37 +02:00
<!-- http://man7.org/linux/man-pages/man3/tcgetattr.3p.html -->
<!-- int tcgetattr(int fildes, struct termios *termios_p); -->
<function name = "tcgetattr">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="out">
2017-09-19 15:10:37 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-09-19 15:10:37 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/tcsetattr.3p.html -->
<!-- int tcsetattr(int fildes, int optional_actions, const struct termios *termios_p); -->
<function name = "tcsetattr">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2017-09-19 15:10:37 +02:00
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-09-19 15:10:37 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/cfsetospeed.3p.html -->
<!-- int cfsetospeed(struct termios *termios_p, speed_t speed); -->
<!-- http://man7.org/linux/man-pages/man3/cfsetispeed.3p.html -->
<!-- int cfsetispeed(struct termios *termios_p, speed_t speed); -->
<function name = "cfsetospeed,cfsetispeed">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="inout">
2017-09-19 15:10:37 +02:00
<not-uninit/>
<not-null/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-09-19 15:10:37 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/tcdrain.3p.html -->
<!-- int tcdrain(int fildes); -->
<function name = "tcdrain">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-09-19 15:10:37 +02:00
</arg>
</function>
2019-02-17 23:35:34 +01:00
<!-- These are defined as macros http://man7.org/linux/man-pages/man7/inode.7.html -->
<!-- It is better to configure them as functions -->
<function name = "S_ISREG,S_ISDIR,S_ISCHR,S_ISBLK,S_ISFIFO,S_ISLNK,S_ISSOCK">
<returnValue type = "int"/>
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2019-02-17 23:35:34 +01:00
<not-uninit/>
<not-bool/>
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/swab.html -->
2018-03-20 11:40:50 +01:00
<!-- void swab(const void * src, void* dest, ssize_t bytes); -->
2018-03-19 13:12:16 +01:00
<function name = "swab">
2018-03-19 20:33:36 +01:00
<returnValue type = "void"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2018-03-19 20:33:36 +01:00
<not-uninit/>
2019-03-12 13:35:06 +01:00
<minsize type = "argvalue" arg="3"/>
2018-03-19 20:33:36 +01:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="out">
2018-03-19 20:33:36 +01:00
<not-null/>
2019-03-12 13:35:06 +01:00
<minsize type = "argvalue" arg="3"/>
2018-03-19 20:33:36 +01:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2018-03-19 20:33:36 +01:00
<not-uninit/>
2019-03-12 13:35:06 +01:00
<valid>0:</valid>
2018-03-19 20:33:36 +01:00
</arg>
2018-03-19 13:12:16 +01:00
</function>
2018-05-08 09:30:08 +02:00
<!-- void sync(void); -->
2018-03-19 13:12:16 +01:00
<function name = "sync">
2018-03-19 20:33:36 +01:00
<returnValue type = "void"/>
<noreturn>false</noreturn>
2018-03-19 13:12:16 +01:00
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/gethostname.html -->
2018-07-18 09:40:06 +02:00
<!-- int gethostname(char *name, size_t len); -->
<function name = "gethostname">
<noreturn>false</noreturn>
<returnValue type = "int"/>
2019-03-12 13:35:06 +01:00
<leak-ignore/>
<arg nr = "1" direction="out">
2018-07-18 09:40:06 +02:00
<not-null/>
<minsize type = "argvalue" arg="2"/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2018-07-18 09:40:06 +02:00
<not-uninit/>
<valid>1:</valid>
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_memalign.html -->
2018-11-19 18:23:00 +01:00
<!-- int posix_memalign(void **memptr, size_t alignment, size_t size); -->
<function name = "posix_memalign">
<use-retval/>
<returnValue type = "int"/>
<noreturn>false</noreturn>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out">
2018-11-19 18:23:00 +01:00
<not-null/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2018-11-19 18:23:00 +01:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2018-11-19 18:23:00 +01:00
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
2019-03-20 14:10:36 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/7908799/xsh/valloc.html -->
<!-- void *valloc(size_t size); -->
<function name = "valloc">
<use-retval/>
<returnValue type = "void *"/>
<noreturn>false</noreturn>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<warn severity = "style" alternatives="malloc,mmap" reason="Obsolete"/>
</function>
<memory>
<alloc init = "false" buffer-size="malloc">valloc</alloc>
<dealloc>free</dealloc>
</memory>
2018-11-19 18:23:00 +01:00
<memory>
2019-03-12 13:35:06 +01:00
<alloc init = "false" arg="1">posix_memalign</alloc>
2018-11-19 18:23:00 +01:00
<dealloc>free</dealloc>
</memory>
2015-11-21 16:10:46 +01:00
<memory>
2019-03-20 06:46:55 +01:00
<alloc init = "true" buffer-size="strdup">strdup</alloc>
2015-11-21 16:10:46 +01:00
<alloc init = "true">strndup</alloc>
<alloc init = "true">wcsdup</alloc>
<dealloc>free</dealloc>
</memory>
<memory>
<alloc init = "true">mmap</alloc>
<alloc init = "true">mmap64</alloc>
<dealloc>munmap</dealloc>
</memory>
<resource>
<alloc init = "true">open</alloc>
<alloc init = "true">creat</alloc>
<alloc init = "true">socket</alloc>
<dealloc>close</dealloc>
</resource>
<resource>
<alloc init = "true">opendir</alloc>
<alloc init = "true">fdopendir</alloc>
<dealloc>closedir</dealloc>
</resource>
<resource>
<alloc init = "true">fdopen</alloc>
<dealloc>fclose</dealloc>
</resource>
<resource>
<alloc init = "true">popen</alloc>
<dealloc>pclose</dealloc>
</resource>
2017-06-06 23:21:05 +02:00
<resource>
<alloc init = "true">mq_open</alloc>
<dealloc>mq_close</dealloc>
</resource>
2017-07-17 15:17:20 +02:00
<memory>
2017-07-17 15:21:42 +02:00
<alloc init = "true" arg="4">getaddrinfo</alloc>
2017-07-17 15:17:20 +02:00
<dealloc>freeaddrinfo</dealloc>
</memory>
2015-11-21 20:24:30 +01:00
<!-- This type definitions refer to http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html-->
2015-11-21 16:10:46 +01:00
<podtype name = "in_port_t" sign="u" size="2"/>
<podtype name = "in_addr_t" sign="u" size="4"/>
2019-01-29 23:20:44 +01:00
<podtype name = "nfds_t" sign="u"/>
2015-11-21 16:10:46 +01:00
<podtype name = "socklen_t" sign="u" size="4"/>
<podtype name = "sa_family_t" sign="u" size="2"/>
<podtype name = "nlink_t" sign="s"/>
<podtype name = "mode_t" sign="s"/>
<podtype name = "pid_t" sign="s"/>
<podtype name = "uid_t" sign="s"/>
<podtype name = "gid_t" sign="s"/>
<podtype name = "id_t" sign="s"/>
<podtype name = "blkcnt_t" sign="s"/>
<podtype name = "off_t" sign="s"/>
<podtype name = "fsblkcnt_t" sign="u"/>
<podtype name = "fsfilcnt_t" sign="u"/>
<podtype name = "ino_t" sign="u"/>
<podtype name = "useconds_t" sign="u"/>
<podtype name = "suseconds_t" sign="u"/>
<podtype name = "blksize_t" sign="s"/>
<podtype name = "ssize_t" sign="s"/>
2019-01-29 23:20:44 +01:00
<!-- struct: <podtype name = "dirent"/> -->
<!-- struct: <podtype name = "DIR"/> -->
2015-11-21 16:10:46 +01:00
<podtype name = "clockid_t"/>
<podtype name = "dev_t"/>
<podtype name = "key_t"/>
<podtype name = "tms"/>
2019-01-29 23:20:44 +01:00
<!-- struct: <podtype name = "utsname"/> -->
2015-11-21 16:10:46 +01:00
<podtype name = "pthread_attr_t"/>
<podtype name = "pthread_cond_t"/>
<podtype name = "pthread_condattr_t"/>
<podtype name = "pthread_key_t"/>
<podtype name = "pthread_mutexattr_t"/>
<podtype name = "pthread_mutex_t"/>
<podtype name = "pthread_barrier_t"/>
<podtype name = "pthread_barrierattr_t"/>
<podtype name = "pthread_once_t"/>
<podtype name = "pthread_rwlock_t"/>
<podtype name = "pthread_rwlockattr_t"/>
<podtype name = "pthread_spinlock_t"/>
<podtype name = "pthread_t"/>
<podtype name = "timer_t"/>
<podtype name = "trace_attr_t"/>
<podtype name = "trace_event_id_t"/>
<podtype name = "trace_event_set_t"/>
<podtype name = "trace_id_t"/>
<podtype name = "stat"/>
<podtype name = "sigjmp_buf"/>
<podtype name = "sigset_t"/>
<podtype name = "termios"/>
<podtype name = "intptr_t"/>
<podtype name = "timespec"/>
2019-01-29 23:20:44 +01:00
<!-- struct: <podtype name = "timeval"/> -->
2015-11-21 16:10:46 +01:00
<podtype name = "timezone"/>
2019-01-29 23:20:44 +01:00
<!-- struct: <podtype name = "sigaction"/> -->
2016-12-04 12:24:26 +01:00
<podtype name = "stack_t"/>
2015-11-21 16:10:46 +01:00
<podtype name = "mq_attr"/>
<podtype name = "mqd_t"/>
<podtype name = "datum"/>
<podtype name = "DBM"/>
<podtype name = "addrinfo"/>
<podtype name = "hostent"/>
<podtype name = "netent"/>
<podtype name = "protoent"/>
<podtype name = "servent"/>
<podtype name = "passwd"/>
<podtype name = "nl_catd"/>
<podtype name = "nl_item"/>
<podtype name = "regex_t"/>
<podtype name = "sched_param"/>
2016-05-19 11:51:49 +02:00
<podtype name = "glob_t"/>
2018-06-08 14:42:31 +02:00
<podtype name = "locale_t"/>
2017-02-07 12:14:55 +01:00
<define name = "MAP_FAILED" value="-1"/>
2019-01-10 21:14:37 +01:00
<define name = "RTLD_LAZY" value="0x01"/>
<define name = "RTLD_NOW" value="0x02"/>
<define name = "RTLD_GLOBAL" value="0x04"/>
<define name = "RTLD_LOCAL" value="0x08"/>
2019-02-17 23:35:34 +01:00
<define name = "S_IFMT" value="0170000"/>
<define name = "S_IFSOCK" value="0140000"/>
<define name = "S_IFLNK" value="0120000"/>
<define name = "S_IFREG" value="0100000"/>
<define name = "S_IFBLK" value="0060000"/>
<define name = "S_IFDIR" value="0040000"/>
<define name = "S_IFCHR" value="0020000"/>
<define name = "S_IFIFO" value="0010000"/>
2014-10-14 06:46:47 +02:00
</def>