2013-12-23 10:06:45 +01:00
<?xml version = "1.0"?>
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/>
2015-07-14 09:07:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
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/>
2015-07-14 09:07:47 +02:00
<arg nr = "1">
<not-uninit/>
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"/>
2015-07-14 09:07:47 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</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/>
<arg nr = "1">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "2">
<not-uninit/>
</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"/>
2016-08-04 21:07:26 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2"/>
</function>
2015-04-19 00:13:30 +02:00
<!-- struct group *getgrnam(const char *name); -->
<function name = "getgrnam">
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct group *"/>
2015-04-19 00:13:30 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2015-04-19 00:13:30 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- struct group *getgrgid(gid_t gid);-->
<function name = "getgrgid">
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct group *"/>
2015-04-19 00:13:30 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2015-04-19 00:13:30 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- 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/>
2015-04-19 00:13:30 +02:00
<arg nr = "1"/>
<arg nr = "2"/>
</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/>
2015-04-19 00:13:30 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2015-04-12 10:42:16 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<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"/>
2015-04-12 10:42:16 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
</arg>
</function>
<!-- void FD_SET(int fd, fd_set *set); -->
<function name = "FD_SET">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2015-04-12 10:42:16 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<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/>
2015-04-12 10:42:16 +02:00
<arg nr = "1">
<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"/>
2016-08-04 21:07:26 +02:00
<arg nr = "1">
<not-uninit/>
</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/>
<arg nr = "1">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "2">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "3">
<not-uninit/>
</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"/>
2016-08-04 21:07:26 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
</function>
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"/>
2015-04-10 08:26:44 +02:00
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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"/>
2015-04-10 08:26:44 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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"/>
2015-04-09 19:25:33 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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"/>
2015-04-09 21:35:18 +02:00
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
</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>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
2018-01-18 13:56:36 +01:00
<arg nr = "3" default="0">
2016-01-13 11:57:21 +01:00
<not-uninit/>
</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>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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"/>
2015-04-05 23:15:23 +02:00
<arg nr = "1">
<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/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<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>
2015-02-05 14:18:08 +01:00
<arg nr = "1">
<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 -->
2015-02-06 10:47:49 +01:00
<!-- int access(const char *pathname, int mode); -->
<function name = "access">
<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-06 10:47:49 +01:00
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
</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"/>
2015-07-14 09:21:57 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
</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"/>
2015-07-14 09:21:57 +02:00
<arg nr = "1">
<not-uninit/>
</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"/>
2015-11-21 20:24:30 +01:00
<arg nr = "1">
<not-uninit/>
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 *"/>
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>
<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 *"/>
2015-02-05 02:27:20 +01:00
<arg nr = "1">
<not-uninit/>
</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 *"/>
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>
<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 *"/>
2015-11-21 20:24:30 +01:00
<arg nr = "1">
<not-uninit/>
</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 *"/>
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-uninit/>
</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 *"/>
2015-11-21 20:24:30 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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 *"/>
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>
<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 *"/>
2015-11-21 20:24:30 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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 *"/>
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>
<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 *"/>
2015-04-05 23:15:23 +02: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">
2015-11-21 16:10:46 +01:00
<not-uninit/>
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 *"/>
2015-04-05 23:15:23 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-04-05 23:15:23 +02:00
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</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/>
</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/>
</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/>
</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 *"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
<not-uninit/>
</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 *"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
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 *"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
<not-uninit/>
</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/>
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/>
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/>
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>
2014-10-14 06:46:47 +02:00
<arg nr = "2">
<not-uninit/>
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/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-10-14 06:46:47 +02:00
</arg>
<arg nr = "2">
<not-uninit/>
</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"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
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"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
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"/>
2015-02-05 02:27:20 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
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"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-10-14 06:46:47 +02:00
</arg>
<arg nr = "2">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
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/>
2015-02-02 17:23:43 +01:00
</arg>
</function>
<!-- int rename(const char *oldpath, const char *newpath); -->
2014-10-14 06:46:47 +02:00
<function name = "rename">
<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/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- 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/>
</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/>
</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/>
</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>
<arg nr = "2">
<not-uninit/>
</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"/>
2016-08-09 11:07:14 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</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>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</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"/>
2015-03-12 12:06:14 +01:00
<arg nr = "1">
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-12 12:06:14 +01:00
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
</function>
2017-06-02 22:58:39 +02:00
<function name = "times">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-uninit/>
</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/>
</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/>
</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/>
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/>
</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/>
</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/>
</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/>
</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/>
</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/>
</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"/>
2015-02-05 02:27:20 +01:00
<arg nr = "1">
<not-uninit/>
</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/>
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"/>
2015-03-10 14:40:12 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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>
<arg nr = "2">
<not-uninit/>
</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"/>
2015-02-05 11:40:25 +01:00
<arg nr = "1">
<not-uninit/>
</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>
<arg nr = "1">
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/>
</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>
<!-- 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
<!-- struct dirent *readdir(DIR *dir); -->
2014-12-09 21:37:00 +01:00
<function name = "readdir">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct dirent *"/>
2014-12-09 21:37:00 +01:00
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
</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/>
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/>
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/>
</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/>
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"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-10-14 06:46:47 +02:00
</arg>
<arg nr = "2">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
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/>
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"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-10-14 06:46:47 +02:00
</arg>
<arg nr = "2">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-10-14 06:46:47 +02:00
</arg>
<arg nr = "3">
<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"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3">
<not-uninit/>
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"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
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>
<arg nr = "3">
<not-uninit/>
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"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
</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"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
</arg>
2015-01-27 17:55:18 +01:00
<arg nr = "5"/>
<arg nr = "6"/>
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"/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</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"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
</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"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
</arg>
2015-01-27 17:55:18 +01:00
<arg nr = "5"/>
<arg nr = "6"/>
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"/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
</function>
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/>
2014-12-12 23:45:56 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2014-12-12 23:45:56 +01:00
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
</arg>
<arg nr = "5">
<not-uninit/>
</arg>
<arg nr = "6">
<not-uninit/>
</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/>
2014-12-12 23:45:56 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2014-12-12 23:45:56 +01:00
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
</arg>
<arg nr = "5">
<not-uninit/>
</arg>
<arg nr = "6">
<not-uninit/>
</arg>
</function>
<!-- 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>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-12-12 23:45:56 +01:00
</arg>
<arg nr = "2">
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</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>
<leak-ignore/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<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"/>
2015-04-05 23:15:23 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<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"/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<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/>
<arg nr = "1">
<not-uninit/>
</arg>
2015-11-21 16:10:46 +01:00
<formatstr/>
2015-02-14 18:46:05 +01:00
<arg nr = "2">
<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/>
<arg nr = "1">
<not-uninit/>
</arg>
2015-11-21 16:10:46 +01:00
<formatstr/>
2015-02-14 18:46:05 +01:00
<arg nr = "2">
<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/>
2015-03-10 14:40:12 +01:00
<arg nr = "1">
<not-uninit/>
</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/>
2015-03-10 14:40:12 +01:00
<arg nr = "1">
<not-uninit/>
</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/>
2015-02-16 22:19:51 +01:00
<arg nr = "1">
<not-uninit/>
</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/>
2015-02-16 22:19:51 +01:00
<arg nr = "1">
<not-uninit/>
</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/>
2015-02-16 22:19:51 +01:00
<arg nr = "1">
<not-uninit/>
</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/>
2015-02-16 22:19:51 +01:00
<arg nr = "1">
<not-uninit/>
</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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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>
</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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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/>
2015-04-10 08:26:44 +02:00
<arg nr = "1">
<not-uninit/>
</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/>
2015-04-10 08:45:32 +02:00
<arg nr = "1">
<not-uninit/>
</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>
<arg nr = "1">
<not-null/>
</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>
<arg nr = "1">
<not-uninit/>
</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>
<arg nr = "1">
<not-uninit/>
</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>
<arg nr = "1">
<not-uninit/>
</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>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
2015-03-15 13:28:16 +01:00
<!-- int mq_close(mqd_t); -->
<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/>
</arg>
</function>
<!-- int mq_getattr(mqd_t, struct mq_attr *); -->
<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>
2015-03-16 10:39:08 +01:00
<arg nr = "2"/>
2015-03-15 13:28:16 +01:00
</function>
<!-- int mq_notify(mqd_t, const struct sigevent *); -->
<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>
2015-03-16 10:39:08 +01:00
<arg nr = "2"/>
2015-03-15 13:28:16 +01:00
</function>
<!-- mqd_t mq_open(const char *, int, ...); -->
<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>
</function>
<!-- ssize_t mq_receive(mqd_t, char *, size_t, unsigned *); -->
<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>
2015-03-16 10:39:08 +01:00
<arg nr = "4"/>
2015-03-15 13:28:16 +01:00
</function>
<!-- int mq_send(mqd_t, const char *, size_t, unsigned); -->
<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>
2015-03-16 10:39:08 +01:00
<arg nr = "4"/>
2015-03-15 13:28:16 +01:00
</function>
2015-11-21 16:10:46 +01:00
<!-- int mq_setattr(mqd_t, const struct mq_attr *restrict,-->
<!-- struct mq_attr *restrict); -->
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>
2015-03-16 10:39:08 +01:00
<arg nr = "3"/>
2015-03-15 13:28:16 +01:00
</function>
2015-11-21 16:10:46 +01:00
<!-- ssize_t mq_timedreceive(mqd_t, char *restrict, size_t,-->
<!-- unsigned *restrict, const struct timespec *restrict); -->
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>
2015-03-16 10:39:08 +01:00
<arg nr = "5"/>
2015-03-15 13:28:16 +01:00
</function>
2015-11-21 16:10:46 +01:00
<!-- int mq_timedsend(mqd_t, const char *, size_t, unsigned,-->
<!-- const struct timespec *); -->
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>
<arg nr = "5"/>
</function>
<!-- int mq_unlink(const char *); -->
<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>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 13:28:16 +01:00
</arg>
</function>
2015-03-15 12:56:24 +01:00
<!-- int dbm_clearerr(DBM *); -->
<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/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
<!-- void dbm_close(DBM *); -->
<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>
<!-- int dbm_delete(DBM *, datum); -->
<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>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
<!-- int dbm_error(DBM *); -->
<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/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
<!-- datum dbm_fetch(DBM *, datum); -->
<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>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
<!-- datum dbm_firstkey(DBM *); -->
<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/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
<!-- datum dbm_nextkey(DBM *); -->
<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/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
<!-- DBM *dbm_open(const char *, int, mode_t); -->
<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>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 12:56:24 +01:00
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
</function>
<!-- int dbm_store(DBM *, datum, datum, int); -->
<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>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
</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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
</arg>
</function>
<!-- void endhostent(void); -->
<function name = "endhostent">
<noreturn>false</noreturn>
</function>
<!-- struct hostent *gethostent(void); -->
<function name = "gethostent">
<use-retval/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-02-21 11:08:58 +01:00
</function>
<!-- void sethostent(int stayopen); -->
<function name = "sethostent">
<noreturn>false</noreturn>
<arg nr = "1">
<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/>
</arg>
</function>
2015-02-18 20:56:44 +01:00
<!--void endpwent(void); -->
<function name = "endpwent">
<noreturn>false</noreturn>
</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>
2015-11-21 20:24:30 +01:00
<arg nr = "1">
<not-uninit/>
</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">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<pure/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2015-02-18 20:56:44 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
2015-11-21 20:24:30 +01:00
<arg nr = "2">
<not-null/>
<not-uninit/>
</arg>
<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>
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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "3">
<not-null/>
</arg>
</function>
2016-01-22 10:40:04 +01:00
<!--int getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **); -->
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>
2015-02-18 20:56:44 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
2016-12-05 10:30:11 +01:00
<arg nr = "4">
<not-uninit/>
<valid>0:</valid>
</arg>
2016-10-18 17:01:05 +02:00
<arg nr = "5"/>
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>
2015-02-18 20:56:44 +01:00
<arg nr = "1">
<not-uninit/>
</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>
<!-- int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **); -->
<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>
2016-10-18 17:01:05 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
2016-10-21 09:59:38 +02:00
<arg nr = "4">
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2016-10-21 09:59:38 +02:00
</arg>
<arg nr = "5"/>
2015-02-18 20:56:44 +01:00
</function>
<!-- void setpwent(void); -->
<function name = "setpwent">
<noreturn>false</noreturn>
</function>
2016-10-18 17:01:05 +02:00
<!-- int catclose(nl_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/>
</arg>
</function>
2016-10-18 17:01:05 +02:00
<!-- char *catgets(nl_catd, int, int, const char *); -->
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>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
</arg>
</function>
2016-10-18 17:01:05 +02:00
<!-- nl_catd catopen(const char *, int); -->
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>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 12:56:24 +01:00
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
2015-03-14 23:31:56 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.html -->
<!-- int poll(struct pollfd [], nfds_t, int); -->
<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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
</function>
2015-02-21 11:08:58 +01:00
<!-- int regcomp(regex_t *, const char *, int); -->
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>
<arg nr = "1">
<not-null/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
</function>
2015-02-21 11:08:58 +01:00
<!-- size_t regerror(int, const regex_t *, char *, size_t); -->
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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-02-18 20:56:44 +01:00
</arg>
</function>
2015-02-21 11:08:58 +01:00
<!-- int regexec(const regex_t *, const char *, size_t, regmatch_t [restrict], int); -->
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>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-02-18 20:56:44 +01:00
</arg>
<arg nr = "4">
<not-uninit/>
</arg>
<arg nr = "5">
<not-uninit/>
</arg>
</function>
<!-- void regfree(regex_t *); -->
<function name = "regfree">
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
</function>
2015-02-20 20:50:20 +01:00
<!-- int sched_get_priority_max(int); -->
<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>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- int sched_get_priority_min(int); -->
<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>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- int sched_getparam(pid_t, struct sched_param *); -->
<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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
</arg>
</function>
<!-- int sched_getscheduler(pid_t); -->
<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>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- int sched_rr_get_interval(pid_t, struct timespec *); -->
<function name = "sched_rr_get_interval">
<noreturn>false</noreturn>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
</arg>
</function>
<!-- int sched_setparam(pid_t, const struct sched_param *); -->
<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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
<!-- int sched_setscheduler(pid_t, int, const struct sched_param *); -->
<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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
</function>
<!-- int sched_yield(void); -->
<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>
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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-null/>
</arg>
<arg nr = "4">
<not-null/>
</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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-null/>
</arg>
<arg nr = "4">
<not-null/>
</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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-null/>
</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-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/>
2015-03-10 14:40:12 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<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/>
2015-03-10 14:40:12 +01:00
<arg nr = "1">
<not-null/>
</arg>
2015-04-10 08:26:44 +02:00
<arg nr = "2"/>
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>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2015-03-08 14:24:54 +01:00
<arg nr = "1">
<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/>
2015-03-10 14:40:12 +01:00
<arg nr = "1">
<not-null/>
</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>
<!-- 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/>
2015-03-21 12:26:07 +01:00
</arg>
</function>
<!-- 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>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-21 12:26:07 +01:00
</arg>
<arg nr = "2">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-21 12:26:07 +01:00
</arg>
<arg nr = "3">
<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>
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>
</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/>
2015-03-21 12:26:07 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
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/>
<arg nr = "1">
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>
<arg nr = "2">
<not-null/>
</arg>
</function>
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/>
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>
<arg nr = "2">
<not-null/>
</arg>
<arg nr = "3">
<not-null/>
</arg>
</function>
<!-- 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/>
<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/>
</arg>
<arg nr = "3">
<not-uninit/>
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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-04-04 23:59:05 +02:00
</arg>
<arg nr = "3">
<not-null/>
</arg>
<arg nr = "4">
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-04-04 23:59:05 +02:00
</arg>
</function>
<!-- 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/>
<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/>
</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>
<!-- 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/>
<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/>
</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/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
</arg>
</function>
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/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</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 -->
<!-- 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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
</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>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2"/>
</function>
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/>
<arg nr = "1">
<not-uninit/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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/>
<arg nr = "1">
<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>
<arg nr = "2">
<not-null/>
</arg>
<arg nr = "3">
<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>
<!-- int bcmp(const void *s1, void *s2, size_t n); -->
<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/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "3">
<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="memcmp"/>
</function>
<!-- void bzero(void *s, size_t n); -->
<function name = "bzero">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
</arg>
<arg nr = "2">
<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>
<!-- 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/>
<arg nr = "1">
<not-uninit/>
</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/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
</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/>
<arg nr = "1">
<not-null/>
<minsize type = "strlen" arg="2"/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
<strz/>
</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/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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>
<!-- 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>
2017-06-02 22:58:39 +02:00
<arg nr = "1">
<not-null/>
</arg>
<arg nr = "2"/>
<arg nr = "3">
<not-null/>
</arg>
<arg nr = "4"/>
</function>
<function name = "pthread_detach">
2017-06-08 22:33:41 +02:00
<noreturn>false</noreturn>
2017-06-02 22:58:39 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
<function name = "pthread_exit">
<noreturn>true</noreturn>
<arg nr = "1"/>
</function>
<!-- 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"/>
2017-06-02 22:58:39 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2"/>
</function>
2017-06-08 22:33:41 +02:00
<function name = "pthread_kill">
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
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/>
</function>
2017-06-08 22:33:41 +02:00
<function name = "pthread_attr_destroy">
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
</arg>
</function>
<function name = "pthread_attr_init">
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
</arg>
</function>
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/>
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/>
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="pthread_attr_getstack"/>
</function>
<!-- 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/>
<arg nr = "1">
2015-11-22 13:34:40 +01:00
<not-uninit/>
2015-11-21 20:24:30 +01:00
</arg>
<arg nr = "2">
2015-11-22 13:34:40 +01:00
<not-uninit/>
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/>
<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/>
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/>
<arg nr = "1">
<not-uninit/>
</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/>
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
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/>
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/>
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
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/>
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/>
<arg nr = "2">
<not-uninit/>
</arg>
2016-12-05 10:30:11 +01:00
<arg nr = "3">
<not-uninit/>
<valid>0:</valid>
</arg>
2016-10-18 17:01:05 +02:00
<arg nr = "4"/>
</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/>
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"/>
2015-11-21 20:24:30 +01:00
<arg nr = "1">
<not-null/>
</arg>
<arg nr = "2">
<not-null/>
</arg>
<arg nr = "3">
<not-null/>
</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/>
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
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/>
<arg nr = "1">
<not-uninit/>
</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/>
<arg nr = "1"/>
<warn severity = "portability">Non reentrant function 'ctermid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ctermid_r'.</warn>
</function>
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/>
<arg nr = "1">
2016-01-11 16:34:47 +01:00
<not-uninit/>
2016-01-11 14:54:01 +01:00
<not-null/>
</arg>
<arg nr = "2"/>
</function>
2016-01-11 16:34:47 +01:00
<!-- int remove(const char *pathname); -->
<function name = "remove">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-11 16:34:47 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-uninit/>
<not-null/>
</arg>
</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/>
</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>
<arg nr = "2">
2016-01-14 12:30:12 +01:00
<not-uninit/>
2016-01-12 17:00:33 +01:00
</arg>
<arg nr = "3">
2016-01-14 12:30:12 +01:00
<not-uninit/>
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/>
</arg>
</function>
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/>
<arg nr = "1">
<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/>
</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/>
2016-01-15 00:11:48 +01:00
<arg nr = "1"/>
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/>
<arg nr = "1">
<not-uninit/>
</arg>
2016-01-15 00:11:48 +01:00
<arg nr = "2"/>
2016-01-13 11:57:21 +01:00
<arg nr = "3">
<not-uninit/>
</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/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
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/>
<arg nr = "1">
<not-uninit/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2016-01-22 10:40:04 +01:00
</arg>
<arg nr = "3">
<not-uninit/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2"/>
<arg nr = "3">
<not-uninit/>
</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/>
<arg nr = "1"/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
<not-null/>
</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>
<arg nr = "1">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
2016-05-19 13:21:05 +02:00
<not-uninit/>
2016-05-19 11:51:49 +02:00
</arg>
<arg nr = "4">
<not-null/>
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/glob.3.html -->
<!-- void globfree(glob_t *pglob)-->
<function name = "globfree">
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
<not-null/>
</arg>
</function>
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/>
<arg nr = "1">
<not-null/>
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "3">
<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/>
<arg nr = "1">
<not-null/>
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "3">
<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>
<arg nr = "1">
<not-null/>
<minsize type = "sizeof" arg="2"/>
<minsize type = "argvalue" arg="4"/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "4">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
2016-05-24 16:17:09 +02:00
<!-- http://man7.org/linux/man-pages/man3/fnmatch.3.html -->
<!-- int fnmatch(const char *pattern, const char *string, int flags); -->
<function name = "fnmatch">
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-05-24 16:17:09 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "2">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "3">
<not-uninit/>
</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">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "2">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "3">
<not-uninit/>
<not-null/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
<not-null/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "3"/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2"/>
</function>
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">
2017-05-29 00:47:24 +02:00
<noreturn>true</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<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>
2017-05-29 00:47:24 +02:00
<arg nr = "1"/>
2016-12-04 19:15:32 +01:00
<arg nr = "2">
2016-12-04 12:24:26 +01:00
<not-uninit/>
</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/>
<arg nr = "1">
<not-null/>
</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"/>
2016-12-04 12:24:26 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
2016-12-04 19:15:32 +01:00
<arg nr = "2">
2016-12-04 12:24:26 +01:00
<not-uninit/>
</arg>
2016-12-04 19:15:32 +01:00
<arg nr = "3">
2016-12-04 12:24:26 +01:00
<not-uninit/>
</arg>
2016-12-04 19:15:32 +01:00
</function>
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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
</arg>
</function>
<!-- 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/>
<arg nr = "1">
<not-null/>
</arg>
</function>
<!-- 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/>
<arg nr = "1">
<not-null/>
</arg>
</function>
<!-- 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/>
<arg nr = "1">
<not-null/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
<!-- 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/>
<arg nr = "1">
<not-null/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/sigsetops.3.html -->
<!-- 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/>
<arg nr = "1">
<not-null/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
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/>
<arg nr = "6"/>
</function>
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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
</function>
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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
</arg>
<arg nr = "5">
<not-uninit/>
</arg>
</function>
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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
</arg>
<arg nr = "3">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
</arg>
</function>
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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-null/>
<not-uninit/>
</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/>
<arg nr = "1">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "2">
<not-uninit/>
</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/>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
2015-11-21 16:10:46 +01:00
<memory>
<alloc init = "true">strdup</alloc>
<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"/>
<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"/>
<podtype name = "dirent"/>
<podtype name = "DIR"/>
<podtype name = "clockid_t"/>
<podtype name = "dev_t"/>
<podtype name = "key_t"/>
<podtype name = "tms"/>
<podtype name = "utsname"/>
<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"/>
<podtype name = "timeval"/>
<podtype name = "timezone"/>
<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"/>
2017-02-07 12:14:55 +01:00
<define name = "MAP_FAILED" value="-1"/>
2014-10-14 06:46:47 +02:00
</def>