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/>
<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/>
<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/>
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>
2015-04-19 00:13:30 +02:00
<!-- struct group *getgrnam(const char *name); -->
<function name = "getgrnam">
<use-retval/>
<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/>
<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>
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>
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>
<!-- int FD_ISSET(int fd, fd_set *set); -->
<function name = "FD_ISSET">
<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_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>
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/>
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/>
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/>
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/>
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) -->
<function name = "open">
<use-retval/>
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
2016-01-13 11:57:21 +01:00
<!-- int open(const char *pathname, int flags, mode_t mode); -->
<function name = "open">
2015-04-09 21:35:18 +02:00
<use-retval/>
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
2016-01-13 11:57:21 +01:00
<arg nr = "3">
<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/>
<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/>
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>
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-03-21 12:26:07 +01:00
<!-- void _Exit(int status); -->
<function name = "_Exit">
<noreturn>true</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
</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/>
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/>
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/>
2015-07-14 09:21:57 +02:00
<arg nr = "1">
<not-uninit/>
</arg>
</function>
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/>
2015-11-21 20:24:30 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- struct rpcent *getrpcent(void); -->
<function name = "getrpcent">
<use-retval/>
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/>
<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>
<!-- truct rpcent *getrpcbynumber(int number); -->
<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/>
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/>
<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/>
<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); -->
<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/>
<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/>
<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/>
<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/>
<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/>
<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/>
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/>
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/>
<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/>
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/>
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/>
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/>
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/>
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>
<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>
2014-08-15 16:01:48 +02:00
<function name = "strdup">
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
2014-06-25 12:00:24 +02:00
</function>
2014-08-15 16:01:48 +02:00
<function name = "strndup">
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
2014-08-15 16:01:48 +02:00
</function>
<function name = "wcsdup">
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name = "mkstemp">
<noreturn>false</noreturn>
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>
</function>
<function name = "mkdtemp">
<noreturn>false</noreturn>
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>
</function>
<function name = "mktemp">
<noreturn>false</noreturn>
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>
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>
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/>
</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>
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/>
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/>
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/>
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/>
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/>
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/>
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/>
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/>
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/>
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/>
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>
<!-- 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/>
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/>
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/>
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>
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/>
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/>
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>
<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>
2015-02-15 18:11:09 +01:00
<function name = "fdopendir">
<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/>
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>
<function name = "popen">
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name = "pclose">
<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>
<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>
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>
<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>
<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/>
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/>
</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/>
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/>
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/>
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/>
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/>
<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/>
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>
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/>
<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>
2014-06-26 16:22:49 +02:00
<function name = "memmem">
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
<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>
<arg nr = "3">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-10-14 06:46:47 +02:00
</arg>
<arg nr = "4">
<not-uninit/>
</arg>
2014-08-15 16:01:48 +02:00
</function>
2014-06-26 16:22:49 +02:00
<function name = "memrchr">
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr = "3">
<not-bool/>
<valid>0:</valid>
</arg>
2014-08-15 16:01:48 +02:00
</function>
2014-06-26 16:22:49 +02:00
<function name = "rawmemchr">
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
2014-06-26 16:22:49 +02:00
</function>
<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/>
<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>
<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/>
<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">
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>
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>
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>
<function name = "recv">
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>
<function name = "recvfrom">
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>
<function name = "send">
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>
<function name = "sendto">
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>
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/>
<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/>
</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/>
<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/>
</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">
<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/>
</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/>
<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>
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>
2015-02-16 22:19:51 +01:00
<function name = "getgid">
<use-retval/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-02-16 22:19:51 +01:00
</function>
<function name = "getegid">
<use-retval/>
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/>
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/>
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/>
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/>
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/>
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/>
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/>
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/>
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/>
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>
<function name = "setgid">
<use-retval/>
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/>
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">
<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">
<noreturn>false</noreturn>
</function>
2015-03-08 14:24:54 +01:00
<!-- pid_t setpgrp(void); -->
<function name = "setpgrp">
<noreturn>false</noreturn>
</function>
<!-- int setregid(gid_t rgid, gid_t egid); -->
<function name = "setregid">
<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">
<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">
<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">
<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">
<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">
<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">
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- uint16_t htons(uint16_t); -->
<function name = "htons">
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- uint32_t ntohl(uint32_t); -->
<function name = "ntohl">
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- uint16_t ntohs(uint16_t); -->
<function name = "ntohs">
<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">
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- int mq_getattr(mqd_t, struct mq_attr *); -->
<function name = "mq_getattr">
<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">
<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">
<noreturn>false</noreturn>
</function>
<!-- ssize_t mq_receive(mqd_t, char *, size_t, unsigned *); -->
<function name = "mq_receive">
<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">
<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">
<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">
<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">
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "5"/>
</function>
<!-- int mq_unlink(const char *); -->
<function name = "mq_unlink">
<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">
<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">
<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/>
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/>
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/>
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/>
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">
<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">
<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>
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>
<!-- int getaddrinfo(const char * nodename, const char * servname, const struct addrinfo * hints, struct addrinfo ** res); -->
<function name = "getaddrinfo">
<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">
<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/>
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/>
<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">
<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>
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>
2015-02-18 20:56:44 +01:00
<!--int getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **); -->
<function name = "getpwnam_r">
2015-11-21 16:10:46 +01:00
<use-retval/>
<noreturn>false</noreturn>
2015-02-18 20:56:44 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- struct passwd *getpwuid(uid_t uid); -->
<function name = "getpwuid">
2015-11-22 13:34:40 +01:00
<use-retval/>
<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">
<noreturn>false</noreturn>
</function>
<!-- void setpwent(void); -->
<function name = "setpwent">
<noreturn>false</noreturn>
</function>
2015-03-15 12:56:24 +01:00
<!-- int catclose(nl_catd); -->
<function name = "catclose">
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- char *catgets(nl_catd, int, int, const char *); -->
<function name = "catgets">
<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>
<!-- nl_catd catopen(const char *, int); -->
<function name = "catopen">
<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">
<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">
<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">
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "4">
<not-uninit/>
</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">
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
</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">
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- int sched_get_priority_min(int); -->
<function name = "sched_get_priority_min">
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
<!-- int sched_getparam(pid_t, struct sched_param *); -->
<function name = "sched_getparam">
<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">
<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>
<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">
<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">
<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">
<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">
<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">
<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">
<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">
<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">
<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">
<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 -->
<!-- double drand48(void); -->
<function name = "drand48">
<use-retval/>
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">
<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">
<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">
<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>
<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>
<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">
<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">
<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">
<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/>
</arg>
</function>
<!-- int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz); -->
<function name = "readlinkat">
<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/>
</arg>
</function>
<!-- char *asctime_r(const struct tm *tm, char *buf); -->
<function name = "asctime_r">
<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">
<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">
<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">
<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">
<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">
<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">
<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">
<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">
<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">
<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">
<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">
<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/>
</arg>
<arg nr = "2">
<not-null/>
</arg>
<arg nr = "3">
<not-uninit/>
</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/>
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/>
</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/>
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="memset"/>
</function>
<!-- int ftime(struct timeb *tp); -->
<function name = "ftime">
<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/>
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>
<!-- char *index(const char *s, int c); -->
<function name = "index">
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-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/>
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">
<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>
<!-- pid_t vfork(void); -->
<function name = "vfork">
<noreturn>false</noreturn>
<leak-ignore/>
<warn severity = "style" reason="Obsolescent" alternatives="fork"/>
</function>
<!-- int pthread_attr_setstackaddr(pthread_attr_t *attr, void *stackaddr); -->
<function name = "pthread_attr_setstackaddr">
<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 = "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/>
<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/>
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 '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/>
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/>
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/>
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/>
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/>
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/>
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/>
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/>
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>
<!-- struct group *fgetgrent(FILE *stream); -->
<function name = "fgetgrent">
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-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/>
<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/>
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">
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">
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">
<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">
<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">
<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">
<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">
<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/>
<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">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
</function>
<!-- pid_t wait(int *stat_loc); -->
<function name = "wait">
<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">
<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>
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>
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 = "jmp_buf"/>
<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"/>
<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"/>
2014-10-14 06:46:47 +02:00
</def>