2013-12-23 10:06:45 +01:00
<?xml version = "1.0"?>
2019-01-23 15:33:37 +01:00
<!-- Description of the interfaces described by previous and current POSIX standards.
Current reference: http://pubs.opengroup.org/onlinepubs/9699919799/ -->
2015-11-21 16:10:46 +01:00
<def format = "2">
2019-09-27 17:07:16 +02:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/wait.html -->
<!-- Note: These are defined as macros in POSIX system headers -->
<function name = "WIFEXITED,WEXITSTATUS,WIFSIGNALED,WTERMSIG,WIFSTOPPED,WSTOPSIG,WIFCONTINUED">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<use-retval/>
<arg nr = "1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
2022-05-01 11:41:31 +02:00
<!-- int semop(int semid, struct sembuf *sops, size_t nsops); -->
<function name = "semop">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<use-retval/>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr = "2" direction="out">
<not-null/>
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
2022-04-25 12:26:02 +02:00
<!-- https://man7.org/linux/man-pages/man3/wcsnrtombs.3.html -->
<!-- size_t wcsnrtombs(char *restrict dest, const wchar_t **restrict src, size_t nwc, size_t len, mbstate_t *restrict ps); -->
<function name = "wcsnrtombs">
<use-retval/>
<returnValue type = "size_t"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="out">
<not-bool/>
2022-04-25 15:49:37 +02:00
<minsize type = "argvalue" arg="4"/>
2022-04-25 12:26:02 +02:00
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
2022-04-25 15:54:44 +02:00
<arg nr = "5" direction="inout">
2022-04-25 12:26:02 +02:00
<not-uninit/>
</arg>
</function>
2022-04-20 07:27:28 +02:00
<!-- https://man7.org/linux/man-pages/man3/aio_read.3.html -->
<!-- int aio_read(struct aiocb *aiocbp); -->
2022-04-20 07:45:38 +02:00
<!-- https://man7.org/linux/man-pages/man3/aio_write.3.html -->
<!-- int aio_write(struct aiocb *aiocbp); -->
<function name = "aio_read,aio_write">
2022-04-20 07:27:28 +02:00
<use-retval/>
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="inout">
<not-null/>
<not-bool/>
</arg>
</function>
2022-04-20 07:45:38 +02:00
<!-- https://man7.org/linux/man-pages/man3/aio_return.3.html -->
<!-- ssize_t aio_return(struct aiocb *aiocbp); -->
<function name = "aio_return">
<use-retval/>
<returnValue type = "ssize_t"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="inout">
<not-null/>
<not-bool/>
</arg>
</function>
<!-- https://man7.org/linux/man-pages/man3/aio_error.3.html -->
<!-- int aio_error(struct aiocb *aiocbp); -->
<function name = "aio_error">
<use-retval/>
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="inout">
<not-null/>
<not-bool/>
</arg>
</function>
<!-- https://man7.org/linux/man-pages/man3/aio_fsync.3.html -->
<!-- int aio_fsync(int op, struct aiocb *aiocbp); -->
<function name = "aio_fsync">
<use-retval/>
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "2" direction="inout">
<not-null/>
<not-bool/>
</arg>
</function>
<!-- https://man7.org/linux/man-pages/man3/aio_cancel.3.html -->
<!-- int aio_cancel(int fd, struct aiocb *aiocbp); -->
<function name = "aio_cancel">
<use-retval/>
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:</valid>
<not-bool/>
</arg>
<arg nr = "2" direction="inout">
<not-bool/>
</arg>
</function>
2022-04-19 21:13:09 +02:00
<!-- https://man7.org/linux/man-pages/man3/aio_suspend.3.html -->
<!-- int aio_suspend(const struct aiocb *const aiocb_list[], int nitems, const struct timespec *restrict timeout); -->
<function name = "aio_suspend">
<use-retval/>
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-null/>
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
2015-07-14 09:07:47 +02:00
<!-- http://man7.org/linux/man-pages/man3/a64l.3.html -->
<!-- long a64l(const char *str64); -->
<function name = "a64l">
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "long"/>
2015-07-14 09:07:47 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-07-14 09:07:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-07-14 09:07:47 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/a64l.3.html -->
<!-- char *l64a(long value); -->
<function name = "l64a">
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2015-07-14 09:07:47 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-07-14 09:07:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
<!-- The behavior of l64a() is undefined when value is negative. -->
<!-- If value is zero, it returns an empty string. -->
2015-07-14 09:07:47 +02:00
<valid>0:</valid>
</arg>
</function>
2019-05-31 11:06:25 +02:00
<!-- int isalnum_l(int c, locale_t locale) -->
<function name = "isalnum_l">
<use-retval/>
<pure/>
<returnValue type = "int">arg1>=0x30 && arg1<=0x39 || arg1>=0x41 && arg1 <=0x5A || arg1>=0x61 && arg1 <=0x7A</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:255</valid>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-31 11:06:25 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int isalpha_l(int c, locale_t locale); -->
<function name = "isalpha_l">
<use-retval/>
<pure/>
<returnValue type = "int">arg1>='A' && arg1<='Z' || arg1>='a' && arg1 <='z'</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:255</valid>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-31 11:06:25 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int isblank_l(int c, locale_t locale); -->
<function name = "isblank_l">
<use-retval/>
<pure/>
<returnValue type = "int">arg1==' ' || arg1=='\t'</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:255</valid>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-31 11:06:25 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int iscntrl_l(int c, locale_t locale); -->
<function name = "iscntrl_l">
<use-retval/>
<pure/>
<returnValue type = "int">arg1==0x7F || arg1<=0x1F</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:255</valid>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-31 11:06:25 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int isdigit_l(int c, locale_t locale); -->
<function name = "isdigit_l">
<use-retval/>
<pure/>
<returnValue type = "int">arg1>='0' && arg1<='9'</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:255</valid>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-31 11:06:25 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int isgraph_l(int c, locale_t locale); -->
<function name = "isgraph_l">
<use-retval/>
<pure/>
<returnValue type = "int">arg1>=0x21 && arg1<=0x7E</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:255</valid>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-31 11:06:25 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int islower_l(int c, locale_t locale); -->
<function name = "islower_l">
<use-retval/>
<pure/>
<returnValue type = "int">arg1>=0x61 && arg1<=0x7A</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:255</valid>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-31 11:06:25 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int isprint_l(int c, locale_t locale); -->
<function name = "isprint_l">
<use-retval/>
<pure/>
<returnValue type = "int">arg1>=0x20 && arg1<=0x7E</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:255</valid>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-31 11:06:25 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int ispunct_l(int c, locale_t locale); -->
<function name = "ispunct_l">
<use-retval/>
<pure/>
<returnValue type = "int">arg1>=0x21 && arg1<=0x2F || arg1>=0x3A && arg1<=0x40 || arg1>=0x5B && arg1<=0x60 || arg1>=0x7B && arg1<=0x7E</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:255</valid>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-31 11:06:25 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int isspace_l(int c, locale_t locale); -->
<function name = "isspace_l">
<use-retval/>
<pure/>
<returnValue type = "int">arg1>=0x09 && arg1<=0x0D || arg1==0x20</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:255</valid>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-31 11:06:25 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
2019-05-31 11:21:50 +02:00
<!-- int isascii(int c); -->
<function name = "isascii">
<use-retval/>
<pure/>
<returnValue type = "int">arg1>=0 && arg1<=0x7F</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-31 11:21:50 +02:00
<valid>0:255</valid>
</arg>
</function>
2019-05-31 11:06:25 +02:00
<!-- int isupper_l(int c, locale_t locale) -->
<function name = "isupper_l">
<use-retval/>
<pure/>
<returnValue type = "int">arg1>=0x41 && arg1<=0x5A</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:255</valid>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int isxdigit_l(int c, locale_t locale) -->
<function name = "isxdigit_l">
<use-retval/>
<pure/>
<returnValue type = "int">arg1>=0x30 && arg1<=0x39 || arg1>=0x41 && arg1<=0x46 || arg1>=0x61 && arg1<=0x66</returnValue>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>0:255</valid>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
2015-07-14 09:07:47 +02:00
<!-- http://man7.org/linux/man-pages/man2/accept.2.html -->
<!-- int accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen); -->
<function name = "accept">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-07-14 09:07:47 +02:00
<not-uninit/>
2019-04-25 17:04:30 +02:00
<valid>0:</valid>
2015-07-14 09:07:47 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="out">
2015-07-14 09:07:47 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="inout">
2015-07-14 09:07:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-07-14 09:07:47 +02:00
</arg>
</function>
2016-08-04 21:07:26 +02:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/access.html -->
<!-- int access(const char *pathname, int amode); -->
<function name = "access">
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2016-08-04 21:07:26 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
<not-null/>
2022-06-02 09:41:10 +02:00
<strz/>
2016-08-04 21:07:26 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-08-04 21:07:26 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/adjtime.3.html -->
<!-- int adjtime(const struct timeval *delta, struct timeval *olddelta); -->
<function name = "adjtime">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-08-04 21:07:26 +02:00
</function>
2019-01-10 21:14:37 +01:00
<resource>
<alloc>dlopen</alloc>
<dealloc>dlclose</dealloc>
</resource>
2019-01-24 23:13:06 +01:00
<!-- int bind(int socket, const struct sockaddr *address, socklen_t address_len); -->
<function name = "bind">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2019-01-25 10:47:36 +01:00
<not-bool/>
2019-01-24 23:13:06 +01:00
<not-uninit/>
2019-04-26 09:48:38 +02:00
<valid>0:</valid>
2019-01-24 23:13:06 +01:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2019-01-24 23:13:06 +01:00
<not-null/>
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2019-01-24 23:13:06 +01:00
<not-uninit/>
2019-01-25 10:47:36 +01:00
<not-bool/>
<valid>0:</valid>
2019-01-24 23:13:06 +01:00
</arg>
</function>
2019-04-26 09:48:38 +02:00
<!-- int listen(int sockfd, int backlog); -->
<function name = "listen">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-bool/>
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "2" direction="in">
<not-bool/>
<not-uninit/>
</arg>
</function>
<!-- int getpeername(int sockfd, struct sockaddr *addr, socklen_t *addrlen); -->
<!-- int getsockname(int sockfd, struct sockaddr *addr, socklen_t *addrlen); -->
<function name = "getpeername,getsockname">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr = "2" direction="out">
<not-null/>
</arg>
<arg nr = "3" direction="in">
<not-null/>
<not-uninit/>
</arg>
</function>
2019-01-22 21:51:04 +01:00
<!-- int connect(int socket, const struct sockaddr *address, socklen_t address_len); -->
<function name = "connect">
<noreturn>false</noreturn>
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2019-01-22 21:51:04 +01:00
<not-uninit/>
<not-bool/>
2019-04-26 09:48:38 +02:00
<valid>0:</valid>
2019-01-22 21:51:04 +01:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2019-01-22 21:51:04 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2019-01-22 21:51:04 +01:00
<not-uninit/>
</arg>
</function>
2019-01-10 18:33:44 +01:00
<!-- see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlopen.html -->
2019-03-06 10:08:34 +01:00
<!-- void *dlopen(const char *file, int mode); -->
2019-01-10 18:33:44 +01:00
<function name = "dlopen">
<noreturn>false</noreturn>
2019-09-06 15:25:54 +02:00
<use-retval/>
2019-01-10 18:33:44 +01:00
<returnValue type = "void*"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2019-01-10 18:33:44 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-01-10 18:33:44 +01:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2019-01-10 18:33:44 +01:00
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlsym.html -->
2019-03-06 10:08:34 +01:00
<!-- void *dlsym(void *restrict handle, const char *restrict name); -->
2019-01-10 18:33:44 +01:00
<function name = "dlsym">
<noreturn>false</noreturn>
<leak-ignore/>
2019-01-12 21:50:02 +01:00
<use-retval/>
2019-01-10 18:33:44 +01:00
<returnValue type = "void*"/>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2019-01-10 18:33:44 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-01-10 18:33:44 +01:00
</arg>
</function>
<!-- see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlclose.html -->
2019-03-06 10:08:34 +01:00
<!-- int dlclose(void *handle); -->
2019-01-10 18:33:44 +01:00
<function name = "dlclose">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<arg nr = "1">
<not-uninit/>
</arg>
</function>
2019-01-25 21:39:23 +01:00
<!-- int dup(int fildes);
see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dup.html -->
<function name = "dup">
<noreturn>false</noreturn>
<returnValue type = "int"/>
2019-01-28 23:26:53 +01:00
<use-retval/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2019-01-25 21:39:23 +01:00
<not-bool/>
<not-uninit/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2019-01-25 21:39:23 +01:00
</arg>
</function>
2019-03-06 10:08:34 +01:00
<!-- int dup2(int fildes1, int filedes2);
2019-01-25 21:39:23 +01:00
see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dup.html -->
<function name = "dup2">
<noreturn>false</noreturn>
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2019-01-28 23:26:53 +01:00
<not-bool/>
<not-uninit/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2019-01-28 23:26:53 +01:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2019-01-25 21:39:23 +01:00
<not-bool/>
<not-uninit/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2019-01-25 21:39:23 +01:00
</arg>
</function>
2015-04-19 00:13:30 +02:00
<!-- int gettimeofday(struct timeval *tv, struct timezone *tz); -->
<function name = "gettimeofday">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="out"/>
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-04-19 00:13:30 +02:00
</function>
<!-- int settimeofday(const struct timeval *tv, const struct timezone *tz); -->
<function name = "settimeofday">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-19 00:13:30 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-19 00:13:30 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-19 00:13:30 +02:00
</arg>
</function>
2015-04-12 10:42:16 +02:00
<!-- void FD_CLR(int fd, fd_set *set); -->
<function name = "FD_CLR">
<noreturn>false</noreturn>
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-12 10:42:16 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-26 10:16:29 +02:00
<valid>0:</valid>
2015-04-12 10:42:16 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="inout">
2015-04-12 10:42:16 +02:00
<not-null/>
</arg>
</function>
2017-08-01 20:35:30 +02:00
<!-- int FD_ISSET(int fd, fd_set *set); -->
2015-04-12 10:42:16 +02:00
<function name = "FD_ISSET">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-12 10:42:16 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-26 10:16:29 +02:00
<valid>0:</valid>
2015-04-12 10:42:16 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-12 10:42:16 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-12 10:42:16 +02:00
</arg>
</function>
<!-- void FD_SET(int fd, fd_set *set); -->
<function name = "FD_SET">
<noreturn>false</noreturn>
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-12 10:42:16 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-26 10:16:29 +02:00
<valid>0:</valid>
2015-04-12 10:42:16 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="inout">
2015-04-12 10:42:16 +02:00
<not-null/>
</arg>
</function>
<!-- void FD_ZERO(fd_set *set);-->
2015-04-12 12:53:29 +02:00
<function name = "FD_ZERO">
2015-04-12 10:42:16 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="out">
2015-04-12 10:42:16 +02:00
<not-null/>
</arg>
</function>
2016-08-04 21:07:26 +02:00
<!-- http://pubs.opengroup.org/onlinepubs/009695399/functions/fdatasync.html -->
<!-- int fdatasync(int fildes); -->
<function name = "fdatasync">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2016-08-04 21:07:26 +02:00
</arg>
</function>
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/fnmatch.html -->
<!-- int fnmatch(const char *pattern, const char *string, int flags); -->
<function name = "fnmatch">
<pure/>
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2016-08-04 21:07:26 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
<not-null/>
2022-06-02 09:41:10 +02:00
<strz/>
2016-08-04 21:07:26 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
<not-null/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-08-04 21:07:26 +02:00
</arg>
</function>
<!-- http://pubs.opengroup.org/onlinepubs/009695399/functions/fsync.html -->
<!-- int fsync(int fildes); -->
<function name = "fsync">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2016-08-04 21:07:26 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2016-08-04 21:07:26 +02:00
</arg>
</function>
2019-03-06 10:08:34 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/truncate.html -->
2015-04-10 08:26:44 +02:00
<!-- int truncate(const char *path, off_t length); -->
<function name = "truncate">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-10 08:26:44 +02:00
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-04-10 08:26:44 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-10 08:26:44 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-10 08:26:44 +02:00
</arg>
</function>
<!-- int ftruncate(int fd, off_t length); -->
<function name = "ftruncate">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-10 08:26:44 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2015-04-10 08:26:44 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-10 08:26:44 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-10 08:26:44 +02:00
</arg>
</function>
2015-04-09 19:25:33 +02:00
<!-- int flock(int fd, int operation); -->
<function name = "flock">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-09 19:25:33 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-18 11:07:43 +02:00
<valid>0:</valid>
2015-04-09 19:25:33 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-09 19:25:33 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-09 19:25:33 +02:00
</arg>
</function>
2019-05-18 11:07:43 +02:00
<!-- int lockf(int fd, int cmd, off_t len); -->
<function name = "lockf">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-18 11:07:43 +02:00
<valid>0:</valid>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
2019-05-18 11:29:30 +02:00
<!-- void flockfile(FILE *filehandle); -->
<!-- void funlockfile(FILE *filehandle); -->
<function name = "flockfile,funlockfile">
<noreturn>false</noreturn>
<returnValue type = "void"/>
<arg nr = "1" direction="inout">
<not-uninit/>
</arg>
</function>
<!-- int ftrylockfile(FILE *filehandle); -->
<function name = "ftrylockfile">
<noreturn>false</noreturn>
<use-retval/>
<returnValue type = "int"/>
<arg nr = "1" direction="inout">
<not-uninit/>
</arg>
</function>
2019-05-22 09:33:44 +02:00
<!-- int symlinkat(const char *oldpath, int newdirfd, const char *newpath); -->
<function name = "symlinkat">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
<arg nr = "1" direction="in">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "2" direction="in">
2020-05-08 09:14:00 +02:00
<valid>0:</valid>
2019-05-22 09:33:44 +02:00
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "3" direction="in">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-22 09:33:44 +02:00
</arg>
</function>
2015-04-09 21:35:18 +02:00
<!-- int symlink(const char *oldpath, const char *newpath); -->
<function name = "symlink">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-09 21:35:18 +02:00
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-04-09 21:35:18 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-09 21:35:18 +02:00
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-04-09 21:35:18 +02:00
</arg>
</function>
2015-04-09 19:25:33 +02:00
<!-- int open(const char *pathname, int flags) -->
2016-01-13 11:57:21 +01:00
<!-- int open(const char *pathname, int flags, mode_t mode); -->
<function name = "open">
2018-01-18 13:56:36 +01:00
<!-- TODO: add use-retval when cppcheck suppresses redundant messages
because of violations to alloc/dealloc and use-retval configuration-->
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-04-09 21:35:18 +02:00
<noreturn>false</noreturn>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-09 21:35:18 +02:00
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-04-09 21:35:18 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-09 21:35:18 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-09 21:35:18 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" default="0" direction="in">
2016-01-13 11:57:21 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-13 11:57:21 +01:00
</arg>
2015-04-09 21:35:18 +02:00
</function>
2019-04-25 16:56:22 +02:00
<!-- int openat(int dirfd, const char *pathname, int flags); -->
<!-- int openat(int dirfd, const char *pathname, int flags, mode_t mode); -->
<function name = "openat">
<!-- TODO: add use-retval when cppcheck suppresses redundant messages
because of violations to alloc/dealloc and use-retval configuration-->
<returnValue type = "int"/>
<noreturn>false</noreturn>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-25 16:56:22 +02:00
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-04-25 16:56:22 +02:00
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "4" default="0" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
2016-01-13 11:57:21 +01:00
<!-- int creat(const char *pathname, mode_t mode); -->
<function name = "creat">
2015-04-09 21:35:18 +02:00
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-04-09 21:35:18 +02:00
<noreturn>false</noreturn>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-09 21:35:18 +02:00
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-04-09 21:35:18 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-09 21:35:18 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-09 21:35:18 +02:00
</arg>
</function>
2015-04-05 23:15:23 +02:00
<!-- unsigned int sleep(unsigned int seconds); -->
<function name = "sleep">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "unsigned int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
2015-03-10 14:40:12 +01:00
<!-- int usleep(useconds_t useconds); -->
2014-10-14 06:46:47 +02:00
<function name = "usleep">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-11-22 13:34:40 +01:00
<leak-ignore/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-bool/>
<valid>0:999999</valid>
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style">Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead.
The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() function obsolescent and POSIX.1-2008 removes it. It is recommended that new applications use the 'nanosleep' or 'setitimer' function.</warn>
2014-10-14 06:46:47 +02:00
</function>
2015-02-05 14:18:08 +01:00
<!-- void _exit(int status); -->
2014-10-14 06:46:47 +02:00
<function name = "_exit">
<noreturn>true</noreturn>
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-02-05 14:18:08 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2015-02-05 14:18:08 +01:00
</arg>
2014-10-14 06:46:47 +02:00
</function>
2019-05-01 13:54:23 +02:00
<!-- http://man7.org/linux/man-pages/man3/dirfd.3.html -->
<!-- int dirfd(DIR *dirp); -->
<function name = "dirfd">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
<arg nr = "1" direction="in">
<not-uninit/>
<not-null/>
</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"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-07-14 09:21:57 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2015-07-14 09:21:57 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-07-14 09:21:57 +02:00
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-07-14 09:21:57 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2015-07-14 09:21:57 +02:00
<not-uninit/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "4" direction="in">
2015-07-14 09:21:57 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-07-14 09:21:57 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/acct.2.html -->
<!-- int acct(const char *filename); -->
<function name = "acct">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-07-14 09:21:57 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-07-14 09:21:57 +02:00
</arg>
</function>
2016-12-05 10:30:11 +01:00
<!-- http://man7.org/linux/man-pages/man2/alarm.2.html -->
2015-02-05 02:27:20 +01:00
<!-- unsigned int alarm(unsigned int seconds); -->
<function name = "alarm">
<noreturn>false</noreturn>
2015-11-22 13:34:40 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "unsigned int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-11-21 20:24:30 +01:00
</arg>
</function>
<!-- struct rpcent *getrpcent(void); -->
<function name = "getrpcent">
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct rpcent *"/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
<warn severity = "portability">Non reentrant function 'getrpcent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getrpcent_r'.</warn>
</function>
<!-- struct rpcent *getrpcbyname(char *name); -->
<function name = "getrpcbyname">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct rpcent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getrpcbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getrpcbyname_r'.</warn>
</function>
2017-10-05 11:38:11 +02:00
<!-- struct rpcent *getrpcbynumber(int number); -->
2015-11-21 20:24:30 +01:00
<function name = "getrpcbynumber">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct rpcent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-02-05 02:27:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-05 02:27:20 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'getrpcbynumber' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getrpcbynumber_r'.</warn>
</function>
<!-- struct protoent *getprotoent(void); -->
<function name = "getprotoent">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct protoent *"/>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'getprotoent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotoent_r'.</warn>
</function>
<!-- struct protoent *getprotobyname(const char *name); -->
<function name = "getprotobyname">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct protoent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'.</warn>
</function>
<!-- struct protoent *getprotobynumber(int proto); -->
2018-01-16 10:46:30 +01:00
<function name = "getprotobynumber">
2015-11-21 20:24:30 +01:00
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct protoent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getprotobynumber' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobynumber_r'.</warn>
</function>
<!-- struct servent *getservent(void); -->
<function name = "getservent">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct servent *"/>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'getservent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservent_r'.</warn>
</function>
<!-- struct servent *getservbyname(const char *name, const char *proto); -->
<function name = "getservbyname">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct servent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'.</warn>
</function>
<!-- struct servent *getservbyport(int port, const char *proto); -->
<function name = "getservbyport">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct servent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getservbyport' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyport_r'.</warn>
</function>
<!-- struct netent *getnetent(void); -->
<function name = "getnetent">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct netent *"/>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'getnetent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getnetent_r'.</warn>
</function>
<!-- struct netent *getnetbyname(const char *name); -->
<function name = "getnetbyname">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct netent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getnetbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getnetbyname_r'.</warn>
</function>
<!-- struct netent *getnetbyaddr(uint32_t net, int type); -->
<function name = "getnetbyaddr">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct netent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getnetbyaddr' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getnetbyaddr_r'.</warn>
</function>
<!-- struct hostent *gethostent(void); -->
<function name = "gethostent">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct hostent *"/>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'gethostent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gethostent_r'.</warn>
2015-02-05 02:27:20 +01:00
</function>
2015-04-05 23:15:23 +02:00
<!-- struct hostent *gethostbyname(const char *name); -->
<function name = "gethostbyname">
2015-11-21 20:24:30 +01:00
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct hostent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="getaddrinfo"/>
</function>
<!-- struct hostent *gethostbyname2(const char *name, int af); -->
<function name = "gethostbyname2">
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct hostent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-05 23:15:23 +02:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-05 23:15:23 +02:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'gethostbyname2' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gethostbyname2_r'.</warn>
2015-04-05 23:15:23 +02:00
</function>
<!-- struct hostent *gethostbyaddr(const void *addr, socklen_t len, int type); -->
<function name = "gethostbyaddr">
2015-11-21 20:24:30 +01:00
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct hostent *"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2015-04-05 23:15:23 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-04-05 23:15:23 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2015-04-05 23:15:23 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-05 23:15:23 +02:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="getnameinfo"/>
2015-04-05 23:15:23 +02:00
</function>
2015-02-05 02:27:20 +01:00
<!-- int brk(void *addr); -->
<function name = "brk">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-02-05 02:27:20 +01:00
<arg nr = "1">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-05 02:27:20 +01:00
</arg>
</function>
<!-- void *sbrk(intptr_t incr);-->
<function name = "sbrk">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "void *"/>
2015-02-05 02:27:20 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- int closedir(DIR *dir); -->
2014-10-14 06:46:47 +02:00
<function name = "closedir">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2016-01-21 16:14:59 +01:00
<!-- char *strfry(char *string); -->
<function name = "strfry">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2016-01-21 16:14:59 +01:00
<arg nr = "1">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-21 16:14:59 +01:00
</arg>
</function>
<!-- char *strsep(char **stringp, const char *delim); -->
<function name = "strsep">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2016-01-21 16:14:59 +01:00
<arg nr = "1">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2016-01-21 16:14:59 +01:00
</arg>
</function>
2016-01-21 16:32:00 +01:00
<!-- char *strndup(const char *s, size_t n); -->
2014-08-15 16:01:48 +02:00
<function name = "strndup">
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2019-02-03 20:38:33 +01:00
<use-retval/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2014-10-14 06:46:47 +02:00
</arg>
<arg nr = "2">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2014-08-15 16:01:48 +02:00
</function>
2016-01-21 16:32:00 +01:00
<!-- wchar_t *wcsdup(const wchar_t *s); -->
2014-08-15 16:01:48 +02:00
<function name = "wcsdup">
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "wchar_t *"/>
2019-02-03 20:38:33 +01:00
<use-retval/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-03 21:33:09 +02:00
<strz/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2016-01-21 16:32:00 +01:00
<!-- int mkstemp(char *template); -->
2014-10-14 06:46:47 +02:00
<function name = "mkstemp">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2016-01-21 16:32:00 +01:00
<!-- char *mkdtemp(char *template); -->
2014-10-14 06:46:47 +02:00
<function name = "mkdtemp">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2016-01-21 16:32:00 +01:00
<!-- char *mktemp(char *template); -->
2014-10-14 06:46:47 +02:00
<function name = "mktemp">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2016-11-28 16:58:33 +01:00
<use-retval/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2015-12-18 18:29:53 +01:00
<warn severity = "warning">Obsolete function 'mktemp' called. It is recommended to use 'mkstemp' or 'mkdtemp' instead.
The function 'mktemp' is considered to be dangerous due to race conditions and some implementations generating only up to 26 different filenames out of each template. This function has been removed in POSIX.1-2008. Use 'mkstemp' or 'mkdtemp' instead.</warn>
2014-08-15 16:01:48 +02:00
</function>
2015-02-02 17:23:43 +01:00
<!-- char *getcwd(char *buf, size_t size); -->
2014-03-21 16:09:45 +01:00
<function name = "getcwd">
2014-10-14 06:20:07 +02:00
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "char *"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2015-11-25 11:02:32 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2014-04-20 10:50:32 +02:00
</function>
2015-02-02 17:23:43 +01:00
<!-- int mkdir(const char *pathname, mode_t mode); -->
2014-03-21 16:09:45 +01:00
<function name = "mkdir">
2014-10-14 06:20:07 +02:00
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2014-10-14 06:46:47 +02:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2019-05-22 09:33:44 +02:00
<!-- int mknod(const char *pathname, mode_t mode, dev_t dev); -->
<function name = "mknod">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev); -->
<function name = "mknodat">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
</arg>
</function>
2019-05-18 10:46:17 +02:00
<!-- int mkdirat(int dirfd, const char *pathname, mode_t mode); -->
<function name = "mkdirat">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-18 10:46:17 +02:00
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-18 10:46:17 +02:00
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
2019-05-18 10:54:17 +02:00
<!-- int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags); -->
<function name = "fchmodat">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-18 10:54:17 +02:00
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-18 10:54:17 +02:00
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
2019-05-18 10:59:40 +02:00
<!-- int fchownat(int dirfd, const char *pathname, uid_t owner, gid_t group, int flags); -->
<function name = "fchownat">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-18 10:59:40 +02:00
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-18 10:59:40 +02:00
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "5" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- int rmdir(const char *pathname); -->
2014-10-14 06:46:47 +02:00
<function name = "rmdir">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- int chdir(const char *path); -->
2014-10-14 06:46:47 +02:00
<function name = "chdir">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2014-10-14 06:46:47 +02:00
</arg>
2014-04-20 10:50:32 +02:00
</function>
2015-02-05 02:27:20 +01:00
<!-- int chroot(const char *path); -->
<function name = "chroot">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2015-02-05 02:27:20 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-05 02:27:20 +01:00
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- int link(const char *oldpath, const char *newpath); -->
2014-03-21 16:09:45 +01:00
<function name = "link">
2014-10-14 06:20:07 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2014-10-14 06:46:47 +02:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2014-10-14 06:46:47 +02:00
</arg>
2014-10-14 06:20:07 +02:00
</function>
2019-05-22 09:33:44 +02:00
<!-- int linkat(int fd1, const char *path1, int fd2, const char *path2, int flag); -->
<function name = "linkat">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-05-08 09:14:00 +02:00
<valid>0:</valid>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
2020-05-08 09:14:00 +02:00
<valid>0:</valid>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "4" direction="in">
<not-null/>
<not-uninit/>
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-22 09:33:44 +02:00
</arg>
</function>
<!-- int unlinkat(int fd, const char *path, int flag); -->
<function name = "unlinkat">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-05-08 09:14:00 +02:00
<valid>0:</valid>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-22 09:33:44 +02:00
</arg>
</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"/>
2019-05-01 19:57:10 +02:00
<arg nr = "1" direction="in">
2015-02-02 17:23:43 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-02 17:23:43 +01:00
</arg>
</function>
<!-- int stat(const char *file_name, struct stat *buf); -->
<function name = "stat">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-05-01 19:57:10 +02:00
<arg nr = "1" direction="in">
2015-02-02 17:23:43 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-02 17:23:43 +01:00
</arg>
2019-05-01 19:57:10 +02:00
<arg nr = "2" direction="out">
2015-02-02 17:23:43 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-02 17:23:43 +01:00
</arg>
</function>
2015-04-04 23:59:05 +02:00
<!-- int lstat(const char *file_name, struct stat *buf); -->
<function name = "lstat">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-05-01 19:57:10 +02:00
<arg nr = "1" direction="in">
2015-04-04 23:59:05 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-04-04 23:59:05 +02:00
</arg>
2019-05-01 19:57:10 +02:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2020-05-08 09:16:59 +02:00
<!-- int fstat(int fd, struct stat *statbuf); -->
2015-04-04 23:59:05 +02:00
<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"/>
2019-05-01 19:57:10 +02:00
<arg nr = "1" direction="in">
2020-05-08 09:16:59 +02:00
<valid>0:</valid>
2015-04-04 23:59:05 +02:00
<not-uninit/>
</arg>
2019-05-01 19:57:10 +02:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2019-05-21 15:21:48 +02:00
<!-- int fstatat(int dirfd, const char *pathname, struct stat *statbuf, int flags); -->
2020-05-08 09:16:59 +02:00
<function name = "fstatat">
2019-05-21 15:21:48 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-05-08 09:16:59 +02:00
<valid>0:</valid>
2019-05-21 15:21:48 +02:00
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-21 15:21:48 +02:00
</arg>
<arg nr = "3" direction="out">
<not-null/>
<not-bool/>
</arg>
<arg nr = "4" direction="in">
<not-bool/>
<not-uninit/>
</arg>
2019-05-22 09:33:44 +02:00
</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"/>
2019-05-01 19:57:10 +02:00
<arg nr = "1" direction="in">
2015-02-02 17:23:43 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-02 17:23:43 +01:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2015-02-02 17:23:43 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-02 17:23:43 +01:00
</arg>
</function>
2019-05-17 15:52:27 +02:00
<!-- mode_t umask(mode_t mask); -->
<function name = "umask">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "mode_t"/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-17 15:52:27 +02:00
</arg>
</function>
2016-08-09 11:07:14 +02:00
<!-- int fchmod(int fildes, mode_t mode); -->
<function name = "fchmod">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2016-08-09 11:07:14 +02:00
<not-uninit/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2016-08-09 11:07:14 +02:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2016-08-09 11:07:14 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-08-09 11:07:14 +02:00
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- int chown(const char *path, uid_t owner, gid_t group); -->
<function name = "chown">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-05-01 19:57:10 +02:00
<arg nr = "1" direction="in">
2015-02-02 17:23:43 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-02 17:23:43 +01:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2015-02-02 17:23:43 +01:00
<not-uninit/>
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "3" direction="in">
2015-02-02 17:23:43 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-02 17:23:43 +01:00
</arg>
</function>
2015-03-12 12:06:14 +01:00
<!-- int lchown(const char *path, uid_t owner, gid_t group); -->
<function name = "lchown">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-05-01 19:57:10 +02:00
<arg nr = "1" direction="in">
2015-03-12 12:06:14 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-03-12 12:06:14 +01:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2015-03-12 12:06:14 +01:00
<not-uninit/>
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "3" direction="in">
2015-03-12 12:06:14 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-12 12:06:14 +01:00
</arg>
</function>
<!-- int fchown(int fildes, uid_t owner, gid_t group); -->
<function name = "fchown">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2015-11-21 16:10:46 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2015-03-12 12:06:14 +01:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2015-03-12 12:06:14 +01:00
<not-uninit/>
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "3" direction="in">
2015-03-12 12:06:14 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-12 12:06:14 +01:00
</arg>
</function>
2018-05-08 09:30:08 +02:00
<!-- clock_t times(struct tms *buffer); -->
2017-06-02 22:58:39 +02:00
<function name = "times">
<noreturn>false</noreturn>
2018-05-08 09:30:08 +02:00
<returnValue type = "clock_t"/>
2017-06-02 22:58:39 +02:00
<leak-ignore/>
2019-05-01 19:57:10 +02:00
<arg nr = "1" direction="out">
2017-06-02 22:58:39 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-06-02 22:58:39 +02:00
</arg>
</function>
2015-02-02 17:23:43 +01:00
<!-- int utime(const char *filename, struct utimbuf *buf); -->
<function name = "utime">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-05-01 19:57:10 +02:00
<arg nr = "1" direction="in">
2015-02-02 17:23:43 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-02 17:23:43 +01:00
</arg>
2019-05-01 19:57:10 +02:00
<arg nr = "2" direction="in">
2015-03-08 21:38:43 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-08 21:38:43 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="utimensat"/>
2015-02-20 22:43:48 +01:00
</function>
2022-12-22 09:19:46 +01:00
<!-- https://man7.org/linux/man-pages/man3/encrypt.3.html -->
<!-- void encrypt(char block[64], int edflag);-->
<function name = "encrypt">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "void"/>
<arg nr = "1" direction="in">
<not-null/>
<minsize type = "value" value="64" baseType="char"/>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
2019-05-22 09:33:44 +02:00
<!-- int futimens(int fd, const struct timespec times[2]);-->
<function name = "futimens">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-22 09:33:44 +02:00
<valid>0:</valid>
</arg>
2022-04-22 08:55:28 +02:00
<arg nr = "2" direction="in">
2019-05-22 09:33:44 +02:00
<not-uninit/>
<not-bool/>
2022-06-19 12:01:55 +02:00
<minsize type = "value" value="2" baseType="timespec"/>
2019-05-22 09:33:44 +02:00
</arg>
</function>
<!-- int utimensat(int dirfd, const char *pathname, const struct timespec times[2], int flags);-->
<function name = "utimensat">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-bool/>
2022-06-19 12:01:55 +02:00
<minsize type = "value" value="2" baseType="timespec"/>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
2015-02-20 22:43:48 +01:00
<!-- 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"/>
2019-05-01 19:57:10 +02:00
<arg nr = "1" direction="in">
2015-02-02 17:23:43 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-02 17:23:43 +01:00
</arg>
2019-05-01 19:57:10 +02:00
<arg nr = "2" direction="in">
2015-03-08 21:38:43 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-19 12:01:55 +02:00
<minsize type = "value" value="2" baseType="timeval"/>
2015-03-08 21:38:43 +01:00
</arg>
2022-04-22 08:18:21 +02:00
<warn severity = "style" reason="Obsolescent" alternatives="utimensat"/>
2015-02-02 17:23:43 +01:00
</function>
<!-- DIR *opendir(const char *name); -->
<function name = "opendir">
<noreturn>false</noreturn>
2017-10-05 11:38:11 +02:00
<returnValue type = "DIR *"/>
<use-retval/>
2015-02-02 17:23:43 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
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/>
2019-04-26 10:16:29 +02:00
<valid>0:</valid>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-15 18:11:09 +01:00
</arg>
</function>
2015-03-12 12:06:14 +01:00
<!-- int isatty(int fildes); -->
2014-10-14 06:46:47 +02:00
<function name = "isatty">
2015-03-12 12:06:14 +01:00
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
2019-04-26 10:16:29 +02:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
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/>
2022-06-02 09:41:10 +02:00
<strz/>
2014-10-14 06:46:47 +02:00
</arg>
<arg nr = "2">
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2016-01-21 16:32:00 +01:00
<!-- int pclose(FILE *stream); -->
2014-10-14 06:46:47 +02:00
<function name = "pclose">
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2015-02-15 18:11:09 +01:00
<!-- int socket(int domain, int type, int protocol); -->
<function name = "socket">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-02-15 18:11:09 +01:00
<arg nr = "1">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2015-02-15 18:11:09 +01:00
</arg>
<arg nr = "2">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2015-02-15 18:11:09 +01:00
</arg>
<arg nr = "3">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-07-02 15:14:31 +02:00
</arg>
</function>
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/setsockopt.html -->
<!-- int setsockopt(int socket, int level, int option_name,
const void *option_value, socklen_t option_len); -->
<function name = "setsockopt">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-07-02 15:14:31 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-07-02 15:14:31 +02:00
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-07-02 15:14:31 +02:00
</arg>
<arg nr = "4" direction="in">
<not-null/>
<minsize type = "argvalue" arg="5"/>
</arg>
<arg nr = "5" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsockopt.html -->
<!-- int getsockopt(int socket, int level, int option_name,
void *restrict option_value, socklen_t *restrict option_len); -->
<function name = "getsockopt">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-07-02 15:14:31 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-07-02 15:14:31 +02:00
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-07-02 15:14:31 +02:00
</arg>
<arg nr = "4" direction="out">
<not-null/>
</arg>
<arg nr = "5" direction="inout">
<not-null/>
<not-uninit/>
2015-02-15 18:11:09 +01:00
</arg>
</function>
2015-03-10 14:40:12 +01:00
<!-- int nice(int incr); -->
<function name = "nice">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2015-03-10 14:40:12 +01:00
<arg nr = "1">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-10 14:40:12 +01:00
</arg>
</function>
<!-- int pause(void); -->
<function name = "pause">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2015-03-10 14:40:12 +01:00
<leak-ignore/>
</function>
2015-02-05 11:40:25 +01:00
<!-- int close(int fildes); -->
2015-02-05 02:27:20 +01:00
<function name = "close">
<noreturn>false</noreturn>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-04-21 12:28:17 +02:00
<arg nr = "1" direction="in">
2015-02-05 02:27:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-04-21 12:28:17 +02:00
<valid>0:</valid>
2015-02-05 02:27:20 +01:00
</arg>
</function>
2015-02-05 11:40:25 +01:00
<!-- size_t confstr(int, char *, size_t); -->
<function name = "confstr">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "size_t"/>
2015-02-05 11:40:25 +01:00
<arg nr = "1">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2015-02-05 11:40:25 +01:00
</arg>
<arg nr = "2">
<not-uninit/>
</arg>
<arg nr = "3">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-02-05 11:40:25 +01:00
</arg>
</function>
2015-03-10 14:40:12 +01:00
<!-- long int fpathconf(int fildes, int name); -->
<function name = "fpathconf">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "long int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2015-03-10 14:40:12 +01:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-10 14:40:12 +01:00
</arg>
</function>
<!-- long int pathconf(const char *path, int name); -->
<function name = "pathconf">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "long int"/>
2015-03-10 14:40:12 +01:00
<arg nr = "1">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-03-10 14:40:12 +01:00
</arg>
2019-04-21 12:34:44 +02:00
<arg nr = "2" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-10 14:40:12 +01:00
</arg>
</function>
2015-02-05 11:40:25 +01:00
<!-- long int sysconf(int name); -->
<function name = "sysconf">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "long int"/>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2015-02-05 11:40:25 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-05 11:40:25 +01:00
</arg>
</function>
2016-01-13 11:57:21 +01:00
<!-- FILE *fdopen(int fd, const char *mode); -->
2014-10-14 06:46:47 +02:00
<function name = "fdopen">
2016-01-13 11:57:21 +01:00
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "FILE *"/>
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
2019-04-21 12:34:44 +02:00
<arg nr = "1" direction="in">
2016-01-13 11:57:21 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-26 10:16:29 +02:00
<valid>0:</valid>
2016-01-13 11:57:21 +01:00
</arg>
<arg nr = "2">
2014-10-14 06:46:47 +02:00
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2014-10-14 06:46:47 +02:00
</arg>
</function>
2016-01-13 11:57:21 +01:00
<!-- long int random(void); -->
<function name = "random">
<use-retval/>
2017-08-01 20:35:30 +02:00
<returnValue type = "long int"/>
2016-01-13 11:57:21 +01:00
<noreturn>false</noreturn>
</function>
<!-- void srandom(unsigned int seed); -->
<function name = "srandom">
<noreturn>false</noreturn>
2019-01-29 23:20:44 +01:00
<returnValue type = "void"/>
2022-12-22 10:07:50 +01:00
<!-- It is common practice to call srandom with an uninitialized
variable. Therefore, no warning shall be generated in this
2016-01-13 11:57:21 +01:00
very special case. -->
<arg nr = "1"/>
</function>
2015-02-02 17:23:43 +01:00
<!-- void rewinddir(DIR *dir); -->
2014-12-10 16:10:03 +01:00
<function name = "rewinddir">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-01-29 23:20:44 +01:00
<returnValue type = "void"/>
2014-12-10 16:10:03 +01:00
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
</function>
2015-03-08 14:24:54 +01:00
<!-- void seekdir(DIR *dirp, long loc); -->
<function name = "seekdir">
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-01-29 23:20:44 +01:00
<returnValue type = "void"/>
2015-03-08 14:24:54 +01:00
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2015-03-08 14:24:54 +01:00
</arg>
</function>
2016-01-21 16:32:00 +01:00
<!-- int rand_r(unsigned int *seedp); -->
2014-06-25 15:09:03 +02:00
<function name = "rand_r">
2014-10-14 06:46:47 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2014-10-14 06:46:47 +02:00
<arg nr = "1">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="rand"/>
2014-06-25 15:09:03 +02:00
</function>
2016-01-21 16:14:59 +01:00
<!-- int strcasecmp(const char *s1, const char *s2); -->
2014-06-26 16:22:49 +02:00
<function name = "strcasecmp">
2015-01-09 14:35:12 +01:00
<pure/>
2019-02-04 08:27:49 +01:00
<use-retval/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2014-10-14 06:46:47 +02:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2014-10-14 06:46:47 +02:00
</arg>
2014-06-26 16:22:49 +02:00
</function>
2022-04-22 08:07:20 +02:00
<!-- https://man7.org/linux/man-pages/man3/strncasecmp.3.html -->
2016-01-21 16:14:59 +01:00
<!-- int strncasecmp(const char *s1, const char *s2, size_t n); -->
2014-06-26 16:22:49 +02:00
<function name = "strncasecmp">
2015-01-09 14:35:12 +01:00
<pure/>
2019-02-04 08:27:49 +01:00
<use-retval/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2014-10-14 06:46:47 +02:00
<leak-ignore/>
2017-08-01 20:35:30 +02:00
<returnValue type = "int"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-03 21:33:09 +02:00
<minsize type = "argvalue" arg="3"/>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2014-10-14 06:46:47 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-03 21:33:09 +02:00
<minsize type = "argvalue" arg="3"/>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2022-04-22 08:07:20 +02:00
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<!-- https://man7.org/linux/man-pages/man3/wcsncasecmp.3.html -->
<!-- int wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n) -->
<function name = "wcsncasecmp">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
<arg nr = "1" direction="in">
<not-null/>
<not-uninit/>
2022-06-03 21:33:09 +02:00
<minsize type = "argvalue" arg="3"/>
2022-04-22 08:07:20 +02:00
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
2022-06-03 21:33:09 +02:00
<minsize type = "argvalue" arg="3"/>
2022-04-22 08:07:20 +02:00
</arg>
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-bool/>
<valid>0:</valid>
</arg>
2014-07-05 22:47:10 +02:00
</function>
2019-04-26 16:47:49 +02:00
<!-- ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count); -->
<function name = "sendfile">
<leak-ignore/>
<returnValue type = "ssize_t"/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-26 16:47:49 +02:00
<valid>0:</valid>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-26 16:47:49 +02:00
<valid>0:</valid>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
</arg>
<arg nr = "4" direction="in">
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-26 16:47:49 +02:00
<valid>1:</valid>
</arg>
</function>
2022-04-26 17:24:39 +02:00
<!-- void srand48(long int seedval); -->
<function name = "srand48">
<leak-ignore/>
<returnValue type = "void"/>
<arg nr = "1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- unsigned short *seed48(unsigned short seed16v[3]); -->
<function name = "seed48">
<leak-ignore/>
<use-retval/>
<returnValue type = "unsigned short *"/>
<arg nr = "1" direction="in">
<not-null/>
<not-uninit/>
<not-bool/>
2022-06-19 12:12:32 +02:00
<minsize type = "value" value="3" baseType="unsigned short"/>
2022-04-26 17:24:39 +02:00
</arg>
</function>
<!-- long int jrand48(unsigned short xsubi[3]); -->
<function name = "jrand48">
<leak-ignore/>
<use-retval/>
<returnValue type = "long int"/>
2023-07-27 07:50:46 +02:00
<arg nr = "1" direction="inout">
2022-04-26 17:24:39 +02:00
<not-null/>
<not-uninit/>
<not-bool/>
2022-06-19 12:12:32 +02:00
<minsize type = "value" value="3" baseType="unsigned short"/>
2022-04-26 17:24:39 +02:00
</arg>
</function>
<!-- long int nrand48(unsigned short xsubi[3]); -->
<function name = "nrand48">
<leak-ignore/>
<use-retval/>
<returnValue type = "long int"/>
2023-07-27 07:50:46 +02:00
<arg nr = "1" direction="inout">
2022-04-26 17:24:39 +02:00
<not-null/>
<not-uninit/>
<not-bool/>
2022-06-19 12:12:32 +02:00
<minsize type = "value" value="3" baseType="unsigned short"/>
2022-04-26 17:24:39 +02:00
</arg>
</function>
<!-- double erand48(unsigned short xsubi[3]); -->
<function name = "erand48">
<leak-ignore/>
<use-retval/>
<returnValue type = "double"/>
2023-07-27 07:50:46 +02:00
<arg nr = "1" direction="inout">
2022-04-26 17:24:39 +02:00
<not-null/>
<not-uninit/>
<not-bool/>
2022-06-19 12:12:32 +02:00
<minsize type = "value" value="3" baseType="unsigned short"/>
2022-04-26 17:24:39 +02:00
</arg>
</function>
<!-- void lcong48(unsigned short param[7]); -->
<function name = "lcong48">
<leak-ignore/>
<returnValue type = "void"/>
<arg nr = "1" direction="in">
<not-null/>
<not-uninit/>
<not-bool/>
2022-06-19 12:12:32 +02:00
<minsize type = "value" value="7" baseType="unsigned short"/>
2022-04-26 17:24:39 +02:00
</arg>
</function>
2015-02-11 14:27:29 +01:00
<!-- ssize_t read(int fd, void *buf, size_t count); -->
2014-07-05 22:47:10 +02:00
<function name = "read">
2016-01-22 11:03:37 +01:00
<leak-ignore/>
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-25 17:04:30 +02:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="out">
2014-10-14 06:46:47 +02:00
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2014-07-05 22:47:10 +02:00
</function>
2022-04-26 09:37:08 +02:00
<!-- https://man7.org/linux/man-pages/man3/read.3p.html -->
<!-- ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); -->
<function name = "pread">
<leak-ignore/>
<returnValue type = "ssize_t"/>
<arg nr = "1" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr = "2" direction="out">
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
2015-09-10 11:50:47 +02:00
<!-- ssize_t write(int fildes, const void *buf, size_t nbyte); -->
2014-07-05 22:47:10 +02:00
<function name = "write">
2015-02-17 18:08:19 +01:00
<noreturn>false</noreturn>
2016-01-22 11:03:37 +01:00
<leak-ignore/>
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2019-03-06 10:08:34 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-25 17:04:30 +02:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "2" direction="in">
2014-12-15 10:05:44 +01:00
<not-uninit/>
2015-11-21 16:10:46 +01:00
<minsize type = "argvalue" arg="3"/>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-06 10:08:34 +01:00
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-09-10 11:50:47 +02:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2014-07-05 22:47:10 +02:00
</function>
2022-04-26 09:26:39 +02:00
<!-- https://man7.org/linux/man-pages/man3/write.3p.html -->
<!-- ssize_t pwrite(int fd, const void *buf, size_t count, off_t offset); -->
<function name = "pwrite">
<returnValue type = "ssize_t"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<valid>0:</valid>
<not-uninit/>
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<not-bool/>
</arg>
2022-12-22 10:07:50 +01:00
</function>
2017-08-02 09:26:16 +02:00
<!-- ssize_t recv(int sockfd, void *buf, size_t len, int flags); -->
2014-07-05 22:47:10 +02:00
<function name = "recv">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-25 17:04:30 +02:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="out">
2022-05-01 12:27:14 +02:00
<not-null/>
2014-10-14 06:46:47 +02:00
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2022-05-01 12:29:08 +02:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "4" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2014-07-05 22:47:10 +02:00
</function>
2017-08-02 09:26:16 +02:00
<!-- ssize_t recvfrom(int sockfd, void *buf, size_t len, int flags,
struct sockaddr *src_addr, socklen_t *addrlen); -->
2014-07-05 22:47:10 +02:00
<function name = "recvfrom">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-25 17:04:30 +02:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="out">
2022-05-01 12:24:15 +02:00
<not-null/>
2014-10-14 06:46:47 +02:00
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2022-05-01 12:29:08 +02:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "4" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "5" direction="out"/>
<arg nr = "6" direction="inout">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2014-07-05 22:47:10 +02:00
</function>
2017-08-02 09:26:16 +02:00
<!-- ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags); -->
<function name = "recvmsg">
<returnValue type = "ssize_t"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2017-08-02 09:26:16 +02:00
<not-uninit/>
2019-04-25 17:04:30 +02:00
<valid>0:</valid>
2017-08-02 09:26:16 +02:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="inout"/>
<arg nr = "3" direction="in">
2017-08-02 09:26:16 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-08-02 09:26:16 +02:00
</arg>
</function>
<!-- ssize_t send(int sockfd, const void *buf, size_t len, int flags); -->
2014-07-05 22:47:10 +02:00
<function name = "send">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2019-04-25 17:04:30 +02:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2022-04-27 10:41:57 +02:00
<not-uninit/>
2022-04-27 11:00:55 +02:00
<not-null/>
2014-10-14 06:46:47 +02:00
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2022-04-27 10:41:57 +02:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "4" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2014-07-05 22:47:10 +02:00
</function>
2022-04-27 10:41:57 +02:00
<!-- https://man7.org/linux/man-pages/man3/sendto.3p.html -->
2017-08-02 09:26:16 +02:00
<!-- ssize_t sendto(int sockfd, const void *buf, size_t len, int flags,
const struct sockaddr *dest_addr, socklen_t addrlen); -->
2014-07-05 22:47:10 +02:00
<function name = "sendto">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-25 17:04:30 +02:00
<valid>0:</valid>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2022-04-27 10:35:43 +02:00
<not-null/>
2014-10-14 06:46:47 +02:00
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2014-10-14 06:46:47 +02:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "4" direction="in">
2014-10-14 06:46:47 +02:00
<not-uninit/>
</arg>
2022-04-27 10:35:43 +02:00
<arg nr = "5" direction="in">
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "6" direction="in">
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-04-27 10:35:43 +02:00
<not-uninit/>
<valid>0:</valid>
2018-05-08 09:30:08 +02:00
</arg>
2014-07-05 22:47:10 +02:00
</function>
2017-08-02 09:26:16 +02:00
<!-- ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags); -->
<function name = "sendmsg">
<returnValue type = "ssize_t"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2017-08-02 09:26:16 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-25 17:04:30 +02:00
<valid>0:</valid>
2017-08-02 09:26:16 +02:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2017-08-02 09:26:16 +02:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2017-08-02 09:26:16 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-08-02 09:26:16 +02:00
</arg>
</function>
2019-03-11 11:20:07 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mmap.html -->
2014-12-12 23:45:56 +01:00
<!-- void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset); -->
<function name = "mmap">
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "void *"/>
2014-12-12 23:45:56 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-03-11 11:20:07 +01:00
<valid>1:</valid>
2014-12-12 23:45:56 +01:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2020-02-22 14:49:36 +01:00
<not-bool/>
2014-12-12 23:45:56 +01:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "4" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2014-12-12 23:45:56 +01:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "5" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-26 10:16:29 +02:00
<valid>0:</valid>
2014-12-12 23:45:56 +01:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "6" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-12-12 23:45:56 +01:00
</arg>
</function>
<!-- void *mmap64(void *addr, size_t length, int prot, int flags, int fd, off64_t offset); -->
<function name = "mmap64">
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "void *"/>
2014-12-12 23:45:56 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-03-11 11:20:07 +01:00
<valid>1:</valid>
2014-12-12 23:45:56 +01:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2014-12-12 23:45:56 +01:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "4" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2014-12-12 23:45:56 +01:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "5" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-26 10:16:29 +02:00
<valid>0:</valid>
2014-12-12 23:45:56 +01:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "6" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2014-12-12 23:45:56 +01:00
</arg>
</function>
2019-03-11 11:20:07 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/munmap.html -->
2014-12-12 23:45:56 +01:00
<!-- int munmap(void *addr, size_t length); -->
<function name = "munmap">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2014-12-12 23:45:56 +01:00
<noreturn>false</noreturn>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2014-12-12 23:45:56 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2014-12-12 23:45:56 +01:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2014-12-12 23:45:56 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-03-11 11:20:07 +01:00
<valid>1:</valid>
2014-12-12 23:45:56 +01:00
</arg>
</function>
2015-02-14 18:46:05 +01:00
<!-- void openlog(const char *ident, int option, int facility); -->
<function name = "openlog">
<noreturn>false</noreturn>
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2015-02-14 18:46:05 +01:00
<leak-ignore/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2015-02-14 18:46:05 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-14 18:46:05 +01:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2015-02-14 18:46:05 +01:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2015-02-14 18:46:05 +01:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "3" direction="in">
2015-02-14 18:46:05 +01:00
<not-uninit/>
</arg>
</function>
2015-04-05 23:15:23 +02:00
<!-- int fcntl(int fd, int cmd, ... /* arg */ ); -->
<function name = "fcntl">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-26 10:16:29 +02:00
<valid>0:</valid>
2015-04-05 23:15:23 +02:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2015-04-05 23:15:23 +02:00
</arg>
2015-04-10 08:26:44 +02:00
<arg nr = "any">
<not-uninit/>
</arg>
2015-04-05 23:15:23 +02:00
</function>
2017-09-19 21:12:03 +02:00
<!-- http://man7.org/linux/man-pages/man2/ioctl.2.html -->
<!-- int ioctl(int fd, unsigned long request, ...); -->
<function name = "ioctl">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
2019-03-11 11:20:07 +01:00
<arg nr = "1" direction="in">
2017-09-19 21:12:03 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2019-04-26 10:16:29 +02:00
<valid>0:</valid>
2017-09-19 21:12:03 +02:00
</arg>
2019-03-11 11:20:07 +01:00
<arg nr = "2" direction="in">
2017-09-19 21:12:03 +02:00
<not-uninit/>
2020-02-22 14:49:36 +01:00
<not-bool/>
2017-09-19 21:12:03 +02:00
</arg>
<arg nr = "any">
<not-uninit/>
</arg>
</function>
2015-02-14 18:46:05 +01:00
<!-- void syslog(int priority, const char *format, ...); -->
<function name = "syslog">
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-02-14 18:46:05 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-02-14 18:46:05 +01:00
</arg>
2015-11-21 16:10:46 +01:00
<formatstr/>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
2015-02-14 18:46:05 +01:00
<formatstr/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-14 18:46:05 +01:00
</arg>
<arg nr = "any">
<not-uninit/>
</arg>
</function>
<!-- void vsyslog(int priority, const char *format, va_list ap); -->
<function name = "vsyslog">
<noreturn>false</noreturn>
2019-09-06 10:16:11 +02:00
<returnValue type = "void"/>
2015-02-14 18:46:05 +01:00
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-02-14 18:46:05 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-02-14 18:46:05 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
2019-09-06 10:16:11 +02:00
<not-uninit/>
2015-02-14 18:46:05 +01:00
<formatstr/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-14 18:46:05 +01:00
</arg>
2019-09-06 10:16:11 +02:00
<arg nr = "3" direction="in">
2015-02-14 18:46:05 +01:00
<not-uninit/>
</arg>
</function>
2017-08-02 09:26:16 +02:00
<!-- gid_t getgid(void) -->
2015-02-16 22:19:51 +01:00
<function name = "getgid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "gid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-02-16 22:19:51 +01:00
</function>
2017-08-02 09:26:16 +02:00
<!-- gid_t getegid(void) -->
2015-02-16 22:19:51 +01:00
<function name = "getegid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "gid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-02-16 22:19:51 +01:00
</function>
2015-03-10 14:40:12 +01:00
<!-- uid_t getuid (void); -->
2015-02-16 22:19:51 +01:00
<function name = "getuid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "uid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-10 14:40:12 +01:00
<leak-ignore/>
</function>
<!-- pid_t getsid(pid_t pid); -->
<function name = "getsid">
2015-11-21 16:10:46 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-03-10 14:40:12 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-10 14:40:12 +01:00
</arg>
2015-02-16 22:19:51 +01:00
</function>
2015-07-14 09:07:47 +02:00
<!-- uid_t geteuid(void); -->
2015-02-16 22:19:51 +01:00
<function name = "geteuid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "uid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-10 14:40:12 +01:00
<leak-ignore/>
</function>
<!-- pid_t getppid(void); -->
<function name = "getppid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-10 14:40:12 +01:00
<leak-ignore/>
</function>
<!-- pid_t getpid(void); -->
<function name = "getpid">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-10 14:40:12 +01:00
<leak-ignore/>
</function>
<!-- pid_t getpgrp(void); -->
<function name = "getpgrp">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-10 14:40:12 +01:00
<leak-ignore/>
</function>
<!-- ppid_t getpgid(pid_t pid); -->
<function name = "getpgid">
2015-11-21 16:10:46 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "ppid_t"/>
2015-03-10 14:40:12 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-10 14:40:12 +01:00
</arg>
2015-02-16 22:19:51 +01:00
</function>
2015-07-14 09:07:47 +02:00
<!-- int setuid(uid_t uid); -->
2015-02-16 22:19:51 +01:00
<function name = "setuid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-02-16 22:19:51 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-16 22:19:51 +01:00
</arg>
</function>
2015-07-14 09:07:47 +02:00
<!-- int seteuid(uid_t euid); -->
2015-02-16 22:19:51 +01:00
<function name = "seteuid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-02-16 22:19:51 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-16 22:19:51 +01:00
</arg>
</function>
2017-08-02 09:26:16 +02:00
<!-- int setgid(gid_t gid); -->
2015-02-16 22:19:51 +01:00
<function name = "setgid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-02-16 22:19:51 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-16 22:19:51 +01:00
</arg>
</function>
2015-07-14 09:07:47 +02:00
<!-- int setegid(gid_t egid); -->
2015-02-16 22:19:51 +01:00
<function name = "setegid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-02-16 22:19:51 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-16 22:19:51 +01:00
</arg>
</function>
2015-03-08 14:24:54 +01:00
<!-- int setpgid(pid_t pid, pid_t pgid); -->
<function name = "setpgid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-08 14:24:54 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-03-08 14:24:54 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-03-08 14:24:54 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
2015-03-08 14:24:54 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-08 14:24:54 +01:00
</arg>
</function>
2019-05-03 20:52:10 +02:00
<!-- int socketpair(int domain, int type, int protocol, int sv[2]); -->
<function name = "socketpair">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-05-03 20:52:10 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-05-03 20:52:10 +02:00
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-05-03 20:52:10 +02:00
</arg>
<arg nr = "4" direction="out">
<not-null/>
<not-bool/>
2022-06-19 12:01:55 +02:00
<minsize type = "value" value="2" baseType="int"/>
2019-05-03 20:52:10 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/socketpair.2.html -->
2015-03-10 14:40:12 +01:00
<!-- int pipe(int fildes[2]); -->
<function name = "pipe">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-10 14:40:12 +01:00
<noreturn>false</noreturn>
2019-05-03 22:15:30 +02:00
<use-retval/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="out">
2019-03-30 15:49:52 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-19 12:01:55 +02:00
<minsize type = "value" value="2" baseType="int"/>
2018-05-08 09:30:08 +02:00
</arg>
2015-03-10 14:40:12 +01:00
</function>
2019-01-28 23:26:53 +01:00
<!-- int pselect(int nfds, fd_set *restrict readfds,
fd_set *restrict writefds, fd_set *restrict errorfds,
const struct timespec *restrict timeout,
const sigset_t *restrict sigmask);
2022-12-22 11:48:51 +01:00
see http://pubs.opengroup.org/onlinepubs/9699919799/functions/pselect.html -->
2019-01-28 23:26:53 +01:00
<function name = "pselect">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2019-01-28 23:26:53 +01:00
<not-bool/>
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="inout">
2019-01-28 23:26:53 +01:00
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "3" direction="inout">
2019-01-28 23:26:53 +01:00
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "4" direction="inout">
2019-01-28 23:26:53 +01:00
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "5" direction="in">
2019-01-28 23:26:53 +01:00
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "6" direction="in">
2019-01-28 23:26:53 +01:00
<not-uninit/>
</arg>
</function>
2019-01-25 21:39:23 +01:00
<!-- int select(int nfds, fd_set *restrict readfds, fd_set * writefds, fd_set * errorfds, struct timeval *timeout);
see http://pubs.opengroup.org/onlinepubs/9699919799/functions/pselect.html -->
<function name = "select">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2019-01-28 23:26:53 +01:00
<not-bool/>
<not-uninit/>
2019-01-25 21:39:23 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="inout">
2019-01-28 23:26:53 +01:00
<not-uninit/>
2019-01-25 21:39:23 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "3" direction="inout">
2019-01-28 23:26:53 +01:00
<not-uninit/>
2019-01-25 21:39:23 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "4" direction="inout">
2019-01-28 23:26:53 +01:00
<not-uninit/>
2019-01-25 21:39:23 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "5" direction="inout">
2019-01-25 21:39:23 +01:00
<not-uninit/>
</arg>
</function>
2015-03-08 14:24:54 +01:00
<!-- pid_t setpgrp(void); -->
<function name = "setpgrp">
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-03-08 14:24:54 +01:00
<noreturn>false</noreturn>
</function>
<!-- int setregid(gid_t rgid, gid_t egid); -->
<function name = "setregid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-08 14:24:54 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-03-08 14:24:54 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-03-08 14:24:54 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
2015-03-08 14:24:54 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-08 14:24:54 +01:00
</arg>
</function>
<!-- int setreuid(uid_t ruid, uid_t euid); -->
<function name = "setreuid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-08 14:24:54 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-03-08 14:24:54 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-03-08 14:24:54 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
2015-03-08 14:24:54 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-08 14:24:54 +01:00
</arg>
</function>
2015-04-10 08:26:44 +02:00
<!-- int setfsuid(uid_t fsuid); -->
<function name = "setfsuid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-10 08:26:44 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-04-10 08:26:44 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-10 08:26:44 +02:00
</arg>
</function>
2015-04-10 08:45:32 +02:00
<!-- int setfsgid(uid_t fsgid); -->
<function name = "setfsgid">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-10 08:45:32 +02:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-04-10 08:45:32 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-10 08:45:32 +02:00
</arg>
</function>
2015-03-08 14:24:54 +01:00
<!-- pid_t setsid(void); -->
<function name = "setsid">
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-03-08 14:24:54 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<!-- it is a good idea to do: <use-retval/> -->
2015-03-08 14:24:54 +01:00
</function>
2015-03-12 12:06:14 +01:00
<!-- char *getwd(char *path_name);-->
<function name = "getwd">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-03-12 12:06:14 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="out">
2015-03-12 12:06:14 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-12 12:06:14 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
<warn severity = "style" reason="Obsolescent" alternatives="getcwd"/>
2015-03-12 12:06:14 +01:00
</function>
2015-02-21 11:08:58 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/009695399/basedefs/arpa/inet.h.html -->
<!-- uint32_t htonl(uint32_t); -->
<function name = "htonl">
2017-08-02 09:26:16 +02:00
<returnValue type = "uint32_t"/>
2015-02-21 11:08:58 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-21 11:08:58 +01:00
</arg>
</function>
<!-- uint16_t htons(uint16_t); -->
<function name = "htons">
2017-08-02 09:26:16 +02:00
<returnValue type = "uint16_t"/>
2015-02-21 11:08:58 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-21 11:08:58 +01:00
</arg>
</function>
<!-- uint32_t ntohl(uint32_t); -->
<function name = "ntohl">
2017-08-02 09:26:16 +02:00
<returnValue type = "uint32_t"/>
2015-02-21 11:08:58 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-21 11:08:58 +01:00
</arg>
</function>
<!-- uint16_t ntohs(uint16_t); -->
<function name = "ntohs">
2017-08-02 09:26:16 +02:00
<returnValue type = "uint16_t"/>
2015-02-21 11:08:58 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-21 11:08:58 +01:00
</arg>
</function>
2019-01-28 23:26:53 +01:00
<!-- in_addr_t inet_addr(const char *cp);
http://pubs.opengroup.org/onlinepubs/009695399/functions/inet_addr.html -->
<function name = "inet_addr">
<leak-ignore/>
2019-01-29 23:20:44 +01:00
<pure/>
2019-01-28 23:26:53 +01:00
<returnValue type = "in_addr_t"/>
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2019-01-28 23:26:53 +01:00
<not-uninit/>
<not-bool/>
<strz/>
</arg>
</function>
<!-- char *inet_ntoa(struct in_addr in);
http://pubs.opengroup.org/onlinepubs/009695399/functions/inet_addr.html -->
<function name = "inet_ntoa">
<leak-ignore/>
<returnValue type = "char *"/>
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2019-01-28 23:26:53 +01:00
<not-uninit/>
<not-bool/>
</arg>
</function>
2019-03-11 14:11:47 +01:00
<!-- int mq_close(mqd_t); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_close">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 13:28:16 +01:00
</arg>
</function>
2019-03-11 14:11:47 +01:00
<!-- int mq_getattr(mqd_t, struct mq_attr *); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_getattr">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- int mq_notify(mqd_t, const struct sigevent *); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_notify">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 13:28:16 +01:00
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_open.html -->
<!-- mqd_t mq_open(const char *name, int oflag, ...); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_open">
2017-08-02 09:26:16 +02:00
<returnValue type = "mqd_t"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
<not-uninit/>
<strz/>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-03-11 14:11:47 +01:00
</arg>
<arg nr = "any"/>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_receive.html -->
<!-- ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_receive">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="out">
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-03-11 14:11:47 +01:00
<valid>0:</valid>
</arg>
<arg nr = "4" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_send.html -->
<!-- int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_send">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
<not-uninit/>
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2022-06-03 10:06:32 +02:00
<valid>0:</valid>
2019-03-11 14:11:47 +01:00
</arg>
<arg nr = "4" direction="in">
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-03 10:06:32 +02:00
<valid>0:</valid>
2018-05-08 09:30:08 +02:00
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_setattr.html -->
<!-- int mq_setattr(mqd_t mqdes, const struct mq_attr *restrict mqstat, struct mq_attr *restrict omqstat); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_setattr">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
<arg nr = "3" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_receive.html -->
<!-- ssize_t mq_timedreceive(mqd_t mqdes, char *restrict msg_ptr, size_t msg_len, unsigned *restrict msg_prio, const struct timespec *restrict abstime); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_timedreceive">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="out">
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-03-11 14:11:47 +01:00
</arg>
<arg nr = "4" direction="out"/>
<arg nr = "5" direction="in">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_send.html -->
<!-- int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abstime); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_timedsend">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 14:11:47 +01:00
<arg nr = "2" direction="in">
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2022-12-22 11:58:32 +01:00
<not-null/>
2019-03-11 14:11:47 +01:00
<minsize type = "argvalue" arg="3"/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-03-11 14:11:47 +01:00
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
</arg>
<arg nr = "5" direction="in">
2022-12-22 11:58:32 +01:00
<not-null/>
2019-03-11 14:11:47 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-15 13:28:16 +01:00
</function>
2019-03-11 14:11:47 +01:00
<!-- int mq_unlink(const char *name); -->
2015-03-15 13:28:16 +01:00
<function name = "mq_unlink">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 13:28:16 +01:00
<noreturn>false</noreturn>
2019-03-11 14:11:47 +01:00
<arg nr = "1" direction="in">
2015-03-15 13:28:16 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-03-15 13:28:16 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/dbm_clearerr.html -->
<!-- int dbm_clearerr(DBM *db); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_clearerr">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 12:56:24 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- void dbm_close(DBM *db); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_close">
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- int dbm_delete(DBM *db, datum key); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_delete">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 12:56:24 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 12:56:24 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- int dbm_error(DBM *db); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_error">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-15 12:56:24 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- datum dbm_fetch(DBM *db, datum key); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_fetch">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "datum"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-15 12:56:24 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 12:56:24 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- datum dbm_firstkey(DBM *db); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_firstkey">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "datum"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-15 12:56:24 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- datum dbm_nextkey(DBM *db); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_nextkey">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "datum"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-15 12:56:24 +01:00
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- DBM *dbm_open(const char *file, int open_flags, mode_t file_mode); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_open">
2017-08-02 09:26:16 +02:00
<returnValue type = "DBM *"/>
2015-03-15 12:56:24 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-03-15 12:56:24 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-03-15 12:56:24 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- int dbm_store(DBM *db, datum key, datum content, int store_mode); -->
2015-03-15 12:56:24 +01:00
<function name = "dbm_store">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 12:56:24 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-03-15 12:56:24 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "4" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2017-07-17 15:17:20 +02:00
<!-- http://pubs.opengroup.org/onlinepubs/009695399/functions/freeaddrinfo.html -->
2015-02-21 11:08:58 +01:00
<!-- void freeaddrinfo(struct addrinfo *ai); -->
<function name = "freeaddrinfo">
<noreturn>false</noreturn>
<arg nr = "1">
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-11-21 20:24:30 +01:00
<not-null/>
<!-- not-null is not required by the resource above, but some systems will segfault -->
2015-02-21 11:08:58 +01:00
</arg>
</function>
2017-07-17 15:17:20 +02:00
<!-- http://pubs.opengroup.org/onlinepubs/009695399/functions/freeaddrinfo.html -->
2015-02-21 11:08:58 +01:00
<!-- int getaddrinfo(const char * nodename, const char * servname, const struct addrinfo * hints, struct addrinfo ** res); -->
<function name = "getaddrinfo">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-21 11:08:58 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-21 11:08:58 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-21 11:08:58 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "4" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-21 11:08:58 +01:00
</arg>
</function>
2019-10-10 15:36:38 +02:00
<!-- int getnameinfo(const struct sockaddr *restrict sa,
socklen_t salen,
char *restrict node,
socklen_t nodelen,
char *restrict service,
socklen_t servicelen,
int flags); -->
<function name = "getnameinfo">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<minsize type = "argvalue" arg="2"/>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "3" direction="out">
<minsize type = "argvalue" arg="4"/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "5" direction="out">
<minsize type = "argvalue" arg="6"/>
</arg>
<arg nr = "6" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "7" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
2019-10-10 15:09:43 +02:00
<!-- const char *gai_strerror(int ecode); -->
<function name = "gai_strerror">
<noreturn>false</noreturn>
<returnValue type = "const char *"/>
<use-retval/>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
2015-02-21 11:08:58 +01:00
<!-- void endhostent(void); -->
<function name = "endhostent">
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<returnValue type = "void"/>
2015-02-21 11:08:58 +01:00
</function>
<!-- void sethostent(int stayopen); -->
<function name = "sethostent">
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<returnValue type = "void"/>
<arg nr = "1" direction="in">
2015-02-21 11:08:58 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-02-21 11:08:58 +01:00
</arg>
</function>
2015-04-05 23:23:39 +02:00
<!-- int uname(struct utsname *buf); -->
<function name = "uname">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-05 23:23:39 +02:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-05 23:23:39 +02:00
</arg>
</function>
2020-02-22 23:26:08 +01:00
<!--void endpwent(void); -->
2015-02-18 20:56:44 +01:00
<function name = "endpwent">
<noreturn>false</noreturn>
2019-01-29 23:20:44 +01:00
<returnValue type = "void"/>
2015-02-18 20:56:44 +01:00
</function>
<!--struct passwd *getpwent(void); -->
<function name = "getpwent">
2015-11-21 20:24:30 +01:00
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct passwd *"/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'getpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwent_r'.</warn>
2015-02-18 20:56:44 +01:00
</function>
2022-05-02 12:51:58 +02:00
<!-- https://man7.org/linux/man-pages/man3/getpwent_r.3.html-->
2022-05-02 12:56:47 +02:00
<!-- int fgetpwent_r(FILE *restrict stream, struct passwd *restrict pwbuf, char *restrict buf, size_t buflen, struct passwd **restrict pwbufp); -->
<function name = "fgetpwent_r">
<use-retval/>
<returnValue type = "int"/>
<noreturn>false</noreturn>
2023-08-05 18:48:43 +02:00
<arg nr = "1">
2022-05-02 12:56:47 +02:00
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "3" direction="out">
<not-null/>
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "5" direction="out">
<not-null/>
<not-bool/>
</arg>
</function>
<!-- https://man7.org/linux/man-pages/man3/getpwent_r.3.html-->
2022-05-02 12:51:58 +02:00
<!-- int getpwent_r(struct passwd *restrict pwbuf, char *restrict buf, size_t buflen, struct passwd **restrict pwbufp); -->
<function name = "getpwent_r">
<use-retval/>
<returnValue type = "int"/>
<noreturn>false</noreturn>
<arg nr = "1" direction="in">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "2" direction="out">
<not-null/>
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "4" direction="out">
<not-null/>
<not-bool/>
</arg>
</function>
2015-02-18 20:56:44 +01:00
<!--struct passwd *getpwnam(const char *); -->
<function name = "getpwnam">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct passwd *"/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'.</warn>
</function>
<!-- char *strtok(char *s, const char *ct); -->
<function name = "strtok,std::strtok">
2018-01-31 10:58:30 +01:00
<!-- Already configured in std.cfg. Add only a warning for POSIX that a
threadsafe function exists that should be used. -->
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'.</warn>
2015-02-18 20:56:44 +01:00
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/strtok.html -->
2015-04-04 23:59:05 +02:00
<!-- char *strtok_r(char *str, const char *delim, char **saveptr); -->
<function name = "strtok_r">
2015-11-21 20:24:30 +01:00
<!-- strtok may modify the first argument, so using the return value is not mandatory -->
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<pure/>
2015-04-04 23:59:05 +02:00
<leak-ignore/>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="inout">
2015-04-04 23:59:05 +02:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-04-04 23:59:05 +02:00
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="inout">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/getpwnam.html -->
<!-- int getpwnam_r(const char *name, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result); -->
2015-02-18 20:56:44 +01:00
<function name = "getpwnam_r">
2015-11-21 16:10:46 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
2022-05-02 16:41:33 +02:00
<not-null/>
2022-06-02 09:41:10 +02:00
<strz/>
2022-05-02 16:41:33 +02:00
</arg>
<arg nr = "2" direction="out">
<not-null/>
2015-02-18 20:56:44 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="out">
2022-05-02 16:41:33 +02:00
<not-null/>
2019-03-11 15:40:53 +01:00
<minsize type = "argvalue" arg="4"/>
</arg>
<arg nr = "4" direction="in">
2016-12-05 10:30:11 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "5" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-05-02 16:41:33 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
</arg>
2015-02-18 20:56:44 +01:00
</function>
<!-- struct passwd *getpwuid(uid_t uid); -->
<function name = "getpwuid">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-10-05 11:38:11 +02:00
<returnValue type = "struct passwd *"/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-18 20:56:44 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'.</warn>
2015-02-18 20:56:44 +01:00
</function>
2022-05-02 16:48:22 +02:00
<!-- https://man7.org/linux/man-pages/man3/getpwnam.3.html -->
<!-- int getpwuid_r(uid_t uid, struct passwd *restrict pwd, char *restrict buf, size_t buflen, struct passwd **restrict result) -->
2015-02-18 20:56:44 +01:00
<function name = "getpwuid_r">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2022-05-02 16:48:22 +02:00
<use-retval/>
2015-02-18 20:56:44 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2016-10-18 17:01:05 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-10-18 17:01:05 +02:00
</arg>
2022-05-02 16:48:22 +02:00
<arg nr = "2" direction="out">
<not-null/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="out">
2022-05-02 16:48:22 +02:00
<not-null/>
2019-03-11 15:40:53 +01:00
<minsize type = "argvalue" arg="4"/>
</arg>
<arg nr = "4" direction="in">
2016-10-21 09:59:38 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2016-10-21 09:59:38 +02:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "5" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-05-02 16:48:22 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
</arg>
2015-02-18 20:56:44 +01:00
</function>
<!-- void setpwent(void); -->
<function name = "setpwent">
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<returnValue type = "void"/>
2015-02-18 20:56:44 +01:00
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/catclose.html -->
<!-- int catclose(nl_catd catd); -->
2015-03-15 12:56:24 +01:00
<function name = "catclose">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-15 12:56:24 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/catgets.html -->
<!-- char *catgets(nl_catd catd, int set_id, int msg_id, const char *s); -->
2015-03-15 12:56:24 +01:00
<function name = "catgets">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-03-15 12:56:24 +01:00
<use-retval/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-15 12:56:24 +01:00
<arg nr = "1">
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "4" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/catopen.html -->
<!-- nl_catd catopen(const char *name, int oflag); -->
2015-03-15 12:56:24 +01:00
<function name = "catopen">
2017-08-02 09:26:16 +02:00
<returnValue type = "nl_catd"/>
2015-03-15 12:56:24 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-03-15 12:56:24 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-03-15 12:56:24 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-15 12:56:24 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-15 12:56:24 +01:00
</arg>
</function>
2015-03-14 23:31:56 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.html -->
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/poll.html -->
<!-- int poll(struct pollfd fds[], nfds_t nfds, int timeout); -->
2015-03-14 23:31:56 +01:00
<function name = "poll">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-14 23:31:56 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="inout">
2015-03-14 23:31:56 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-03-14 23:31:56 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-03-14 23:31:56 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-14 23:31:56 +01:00
</arg>
</function>
2022-05-23 15:01:45 +02:00
<!-- https://man7.org/linux/man-pages/man3/lsearch.3.html -->
<!-- void *lfind(const void *key, const void *base, size_t *nmemb, size_t size, int(*compar)(const void *, const void *)); -->
<function name = "lfind">
<returnValue type = "void *"/>
<noreturn>false</noreturn>
<arg nr = "1" direction="in">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-null/>
<minsize type = "argvalue" arg="4"/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<not-bool/>
2022-05-23 15:10:12 +02:00
<valid>1:</valid>
2022-05-23 15:01:45 +02:00
</arg>
<arg nr = "5" direction="in">
<not-uninit/>
<not-null/>
</arg>
</function>
<!-- https://man7.org/linux/man-pages/man3/lsearch.3.html -->
<!-- void *lsearch(const void *key, void *base, size_t *nmemb, size_t size, int(*compar)(const void *, const void *)); -->
<function name = "lsearch">
<returnValue type = "void *"/>
<noreturn>false</noreturn>
<arg nr = "1" direction="in">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "2" direction="in">
<not-null/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-null/>
<minsize type = "argvalue" arg="4"/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<not-bool/>
2022-05-23 15:10:12 +02:00
<valid>1:</valid>
2022-05-23 15:01:45 +02:00
</arg>
<arg nr = "5" direction="in">
<not-uninit/>
<not-null/>
</arg>
</function>
2022-05-23 15:10:12 +02:00
<!-- https://man7.org/linux/man-pages/man3/mbsnrtowcs.3.html -->
<!-- size_t mbsnrtowcs(wchar_t *restrict dest, const char **restrict src, size_t nms, size_t len, mbstate_t *restrict ps) -->
<function name = "mbsnrtowcs">
<returnValue type = "size_t"/>
<use-retval/>
<noreturn>false</noreturn>
2022-05-23 15:12:03 +02:00
<!-- If dest is NULL, len is ignored, and the conversion proceeds as
above, except that the converted wide characters are not written
out to memory, and that no length limit exists. -->
<arg nr = "1" direction="out"/>
2022-05-23 15:10:12 +02:00
<arg nr = "2" direction="in">
<not-uninit/>
<not-null/>
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-null/>
<valid>0:</valid>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
2022-05-23 15:12:03 +02:00
<!-- In both of the above cases, if ps is NULL, a static anonymous
state known only to the mbsrtowcs() function is used instead. -->
<arg nr = "5" direction="in"/>
2022-05-23 15:10:12 +02:00
</function>
2019-03-11 15:40:53 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/regcomp.html -->
<!-- int regcomp(regex_t *restrict preg, const char *restrict pattern, int cflags); -->
2015-02-18 20:56:44 +01:00
<function name = "regcomp">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-18 20:56:44 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="out">
2015-02-18 20:56:44 +01:00
<not-null/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-18 20:56:44 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-18 20:56:44 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- size_t regerror(int errcode, const regex_t *restrict preg, char *restrict errbuf, size_t errbuf_size); -->
2015-02-18 20:56:44 +01:00
<function name = "regerror">
2017-08-02 09:26:16 +02:00
<returnValue type = "size_t"/>
2015-02-18 20:56:44 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="out">
<minsize type = "argvalue" arg="4"/>
</arg>
<arg nr = "4" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-18 20:56:44 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- int regexec(const regex_t *restrict preg, const char *restrict string, size_t nmatch, regmatch_t pmatch[restrict], int eflags); -->
2015-02-18 20:56:44 +01:00
<function name = "regexec">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-18 20:56:44 +01:00
<noreturn>false</noreturn>
2019-03-11 15:40:53 +01:00
<arg nr = "1" direction="in">
2015-02-18 20:56:44 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "2" direction="in">
2015-02-18 20:56:44 +01:00
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-02-18 20:56:44 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "3" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-02-18 20:56:44 +01:00
</arg>
2019-03-11 15:40:53 +01:00
<arg nr = "4" direction="out"/>
<arg nr = "5" direction="in">
2015-02-18 20:56:44 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-18 20:56:44 +01:00
</arg>
</function>
2019-03-11 15:40:53 +01:00
<!-- void regfree(regex_t *preg); -->
2015-02-18 20:56:44 +01:00
<function name = "regfree">
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_get_priority_max.html -->
<!-- int sched_get_priority_max(int policy); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_get_priority_max">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
2019-03-12 09:17:43 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- int sched_get_priority_min(int policy); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_get_priority_min">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
2019-03-12 09:17:43 +01:00
<use-retval/>
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_getparam.html -->
<!-- int sched_getparam(pid_t pid, struct sched_param *param); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_getparam">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
2019-03-12 09:17:43 +01:00
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-03-12 09:17:43 +01:00
<valid>0:</valid>
2015-02-20 20:50:20 +01:00
</arg>
2019-03-12 09:17:43 +01:00
<arg nr = "2" direction="out">
2015-02-20 20:50:20 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_getscheduler.html -->
<!-- int sched_getscheduler(pid_t pid); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_getscheduler">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
2019-03-12 09:17:43 +01:00
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-03-12 09:17:43 +01:00
<valid>0:</valid>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_rr_get_interval.html -->
<!-- int sched_rr_get_interval(pid_t pid, struct timespec *interval); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_rr_get_interval">
<noreturn>false</noreturn>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2019-03-12 09:17:43 +01:00
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
2019-03-12 09:17:43 +01:00
<arg nr = "2" direction="out">
2015-02-20 20:50:20 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_setparam.html# -->
<!-- int sched_setparam(pid_t pid, const struct sched_param *param); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_setparam">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
2019-03-12 09:17:43 +01:00
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
<valid>0:</valid>
2015-02-20 20:50:20 +01:00
</arg>
2019-03-12 09:17:43 +01:00
<arg nr = "2" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_setscheduler.html -->
<!-- int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_setscheduler">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
2019-03-12 09:17:43 +01:00
<arg nr = "1" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-03-12 09:17:43 +01:00
<valid>0:</valid>
2015-02-20 20:50:20 +01:00
</arg>
2019-03-12 09:17:43 +01:00
<arg nr = "2" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
2019-03-12 09:17:43 +01:00
<arg nr = "3" direction="in">
2015-02-20 20:50:20 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-02-20 20:50:20 +01:00
</arg>
</function>
2019-03-12 09:17:43 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_yield.html -->
<!-- int sched_yield(void); -->
2015-02-20 20:50:20 +01:00
<function name = "sched_yield">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-02-20 20:50:20 +01:00
<noreturn>false</noreturn>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/009696799/functions/ecvt.html -->
2015-11-21 16:10:46 +01:00
<!-- char *ecvt(double value, int ndigit, int *restrict decpt, int *restrict sign);-->
<!-- LEGACY in POSIX.1-2001, removed in POSIX.1-2008-->
2015-03-01 20:18:26 +01:00
<function name = "ecvt">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-03-01 20:18:26 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-01 20:18:26 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-03-01 20:18:26 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-03-01 20:18:26 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="out">
2015-03-01 20:18:26 +01:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "4" direction="out">
2015-03-01 20:18:26 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-01 20:18:26 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="sprintf"/>
2015-03-01 20:18:26 +01:00
</function>
2015-11-21 16:10:46 +01:00
<!-- char *fcvt(double value, int ndigit, int *restrict decpt, int *restrict sign);-->
<!-- LEGACY in POSIX.1-2001, removed in POSIX.1-2008-->
2015-03-01 20:18:26 +01:00
<function name = "fcvt">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-03-01 20:18:26 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-01 20:18:26 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-03-01 20:18:26 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-03-01 20:18:26 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="out">
2015-03-01 20:18:26 +01:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "4" direction="out">
2015-03-01 20:18:26 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-01 20:18:26 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="sprintf"/>
2015-03-01 20:18:26 +01:00
</function>
2015-11-21 16:10:46 +01:00
<!-- char *gcvt(double value, int ndigit, char *buf);-->
<!-- LEGACY in POSIX.1-2001, removed in POSIX.1-2008-->
2015-03-01 20:18:26 +01:00
<function name = "gcvt">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-03-01 20:18:26 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-01 20:18:26 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-03-01 20:18:26 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-03-01 20:18:26 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="out">
2015-03-01 20:18:26 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-01 20:18:26 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="sprintf"/>
2015-03-01 20:18:26 +01:00
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/lseek.html -->
2015-03-10 14:40:12 +01:00
<!-- off_t lseek(int fildes, off_t offset, int whence); -->
<function name = "lseek">
2017-08-02 09:26:16 +02:00
<returnValue type = "off_t"/>
2015-03-10 14:40:12 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2015-03-10 14:40:12 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-03-10 14:40:12 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2015-03-10 14:40:12 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2022-02-07 13:58:38 +01:00
<valid>0:2</valid>
2015-03-10 14:40:12 +01:00
</arg>
</function>
2022-02-07 14:15:48 +01:00
<!-- https://man7.org/linux/man-pages/man3/lseek64.3.html -->
<!-- off64_t lseek64(int fildes, off64_t offset, int whence); defined in POSIX.1 (1996). -->
<function name = "lseek64">
<returnValue type = "off64_t"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:2</valid>
</arg>
</function>
2022-02-09 08:34:35 +01:00
<!-- https://man7.org/linux/man-pages/man3/lseek64.3.html -->
<!-- loff_t llseek(int fd, loff_t offset, int whence); -->
<function name = "llseek">
<returnValue type = "loff_t"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:2</valid>
</arg>
<!-- Note: Since glibc 2.28, this function symbol is no longer available to newly linked applications. -->
<warn severity = "style" reason="Obsolescent" alternatives="lseek64"/>
</function>
2015-03-10 14:40:12 +01:00
<!-- int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); -->
<function name = "nanosleep">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-10 14:40:12 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-10 14:40:12 +01:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-10 14:40:12 +01:00
</function>
2015-03-08 14:24:54 +01:00
<!-- void setkey(const char *key); -->
<function name = "setkey">
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<returnValue type = "void"/>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-08 14:24:54 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-03-08 14:24:54 +01:00
</arg>
2015-03-10 14:40:12 +01:00
</function>
<!-- char *getpass(const char *prompt); -->
<function name = "getpass">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-03-10 14:40:12 +01:00
<noreturn>false</noreturn>
2015-11-21 16:10:46 +01:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-10 14:40:12 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-03-10 14:40:12 +01:00
</arg>
2015-03-08 14:24:54 +01:00
</function>
2015-03-21 12:26:07 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdlib.h.html -->
2016-10-18 17:01:05 +02:00
<!-- double drand48(void); -->
2015-03-21 12:26:07 +01:00
<function name = "drand48">
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "double"/>
2015-11-21 16:10:46 +01:00
<noreturn>false</noreturn>
2015-03-21 12:26:07 +01:00
</function>
2022-04-26 17:24:39 +02:00
<!-- long int lrand48(void); -->
<!-- long int mrand48(void); -->
<function name = "lrand48,mrand48">
<use-retval/>
<returnValue type = "long int"/>
<noreturn>false</noreturn>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/putenv.html -->
2015-03-21 12:26:07 +01:00
<!-- int putenv(char *string); -->
<function name = "putenv">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-21 12:26:07 +01:00
<noreturn>false</noreturn>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-21 12:26:07 +01:00
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/setenv.html -->
2015-03-21 12:26:07 +01:00
<!-- int setenv(const char *envname, const char *envval, int overwrite); -->
<function name = "setenv">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-21 12:26:07 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-21 12:26:07 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-03-21 12:26:07 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-03-21 12:26:07 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-03-21 12:26:07 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2015-03-21 12:26:07 +01:00
<not-uninit/>
</arg>
</function>
<!-- int unsetenv(const char *name); -->
<function name = "unsetenv">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-21 12:26:07 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
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/>
2023-10-14 16:59:42 +02:00
<use-retval/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-21 12:26:07 +01:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-21 12:26:07 +01:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'.</warn>
2015-03-21 12:26:07 +01:00
</function>
2015-04-04 23:59:05 +02:00
<!-- struct tm *localtime_r(const time_t *timep, struct tm *result); -->
<function name = "localtime_r">
<noreturn>false</noreturn>
2017-08-02 09:26:16 +02:00
<returnValue type = "struct tm *"/>
2015-04-04 23:59:05 +02:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/readdir.html -->
2015-11-21 20:24:30 +01:00
<!-- struct dirent *readdir(DIR *dirp); -->
<function name = "readdir">
2017-08-02 09:26:16 +02:00
<returnValue type = "struct dirent *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'.</warn>
</function>
2015-04-04 23:59:05 +02:00
<!-- int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result); -->
<function name = "readdir_r">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-04 23:59:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/readlink.html -->
2015-04-04 23:59:05 +02:00
<!-- ssize_t readlink(const char *path, char *buf, size_t bufsiz); -->
<function name = "readlink">
2017-08-02 09:26:16 +02:00
<returnValue type = "ssize_t"/>
2015-04-04 23:59:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-04 23:59:05 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-09 18:20:45 +02:00
<minsize type = "argvalue" arg="3"/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2015-04-04 23:59:05 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2019-05-22 09:33:44 +02:00
<!-- int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath); -->
<function name = "renameat">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2022-05-01 14:18:37 +02:00
<valid>0:</valid>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "2" direction="in">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2022-05-01 14:18:37 +02:00
<valid>0:</valid>
2019-05-22 09:33:44 +02:00
</arg>
<arg nr = "4" direction="in">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-22 09:33:44 +02:00
</arg>
</function>
2022-05-01 14:08:08 +02:00
<!-- https://man7.org/linux/man-pages/man2/readlink.2.html -->
2015-04-04 23:59:05 +02:00
<!-- int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz); -->
<function name = "readlinkat">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-04 23:59:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-04 23:59:05 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2022-05-01 14:08:08 +02:00
<valid>0:</valid>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-04-04 23:59:05 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-09 18:20:45 +02:00
<minsize type = "argvalue" arg="4"/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "4" direction="in">
2015-04-04 23:59:05 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/asctime.html -->
2015-04-04 23:59:05 +02:00
<!-- char *asctime_r(const struct tm *tm, char *buf); -->
<function name = "asctime_r">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-04-04 23:59:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-04 23:59:05 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-03-17 14:22:26 +01:00
<minsize type = "value" value="26"/>
2015-04-04 23:59:05 +02:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="strftime"/>
2015-04-04 23:59:05 +02:00
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/ctime.html -->
2015-04-04 23:59:05 +02:00
<!-- char *ctime_r(const time_t *timep, char *buf); -->
<function name = "ctime_r">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-04-04 23:59:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-04 23:59:05 +02:00
<not-null/>
2015-11-21 16:10:46 +01:00
<not-uninit/>
2015-04-04 23:59:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-03-17 14:22:26 +01:00
<minsize type = "value" value="26"/>
2015-04-04 23:59:05 +02:00
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="strftime"/>
2015-04-04 23:59:05 +02:00
</function>
<!-- struct tm *gmtime_r(const time_t *timep, struct tm *result); -->
<function name = "gmtime_r">
2017-08-02 09:26:16 +02:00
<returnValue type = "struct tm *"/>
2015-04-04 23:59:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-04 23:59:05 +02:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-04-04 23:59:05 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-04 23:59:05 +02:00
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/gmtime.html -->
2015-11-21 20:24:30 +01:00
<!-- struct tm * gmtime(const time_t *tp); -->
<function name = "gmtime">
2017-08-02 09:26:16 +02:00
<returnValue type = "struct tm *"/>
2015-11-21 20:24:30 +01:00
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'.</warn>
</function>
2015-03-11 18:59:34 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/007908799/xsh/time.h.html -->
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_settime.html -->
2015-03-11 18:59:34 +01:00
<!-- int clock_settime(clockid_t clock_id, const struct timespec *tp); -->
<function name = "clock_settime">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-11 18:59:34 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-11 18:59:34 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-03-11 18:59:34 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-11 18:59:34 +01:00
</arg>
</function>
2015-04-05 23:15:23 +02:00
<!-- int killpg(int pgrp, int sig); -->
<function name = "killpg">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-05 23:15:23 +02:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-04-05 23:15:23 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-05 23:15:23 +02:00
</arg>
</function>
<!-- int kill(pid_t pid, int sig); -->
<function name = "kill">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-04-05 23:15:23 +02:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-04-05 23:15:23 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-04-05 23:15:23 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-04-05 23:15:23 +02:00
</arg>
</function>
2015-03-11 18:59:34 +01:00
<!-- int clock_gettime(clockid_t clock_id, struct timespec *tp); -->
<function name = "clock_gettime">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-11 18:59:34 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-11 18:59:34 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-03-11 18:59:34 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-03-11 18:59:34 +01:00
</arg>
</function>
<!-- int clock_getres(clockid_t clock_id, struct timespec *res); -->
<function name = "clock_getres">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-03-11 18:59:34 +01:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-03-11 18:59:34 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-03-11 18:59:34 +01:00
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/tmpnam.html -->
2015-11-21 20:24:30 +01:00
<!-- char* tmpnam(char *s); -->
<function name = "tmpnam,tmpnam_r">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
2015-11-22 13:34:40 +01:00
<warn severity = "style" reason="Obsolescent" alternatives="tmpfile,mkstemp,mkdtemp"/>
2015-11-21 20:24:30 +01:00
</function>
<!-- void makecontext(ucontext_t *ucp, void (*func)(), int argc, ...); -->
<function name = "makecontext">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
</arg>
<arg nr = "2">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2015-11-21 20:24:30 +01:00
</arg>
<arg nr = "3">
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-11-21 20:24:30 +01:00
<not-uninit/>
</arg>
<arg nr = "any"/>
<warn severity = "portability">Obsolescent function 'makecontext' called. Applications are recommended to be rewritten to use POSIX threads.</warn>
</function>
<!-- void swapcontext(ucontext_t *restrict oucp, const ucontext_t *restrict ucp); -->
<function name = "swapcontext">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
</arg>
<arg nr = "2">
<not-null/>
</arg>
<warn severity = "portability">Obsolescent function 'swapcontext' called. Applications are recommended to be rewritten to use POSIX threads.</warn>
</function>
<!-- void getcontext(ucontext_t *ucp); -->
<function name = "getcontext">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
</arg>
<warn severity = "portability">Obsolescent function 'getcontext' called. Applications are recommended to be rewritten to use POSIX threads.</warn>
</function>
<!-- useconds_t ualarm(useconds_t useconds, useconds_t interval); -->
<function name = "ualarm">
2017-08-02 09:26:16 +02:00
<returnValue type = "useconds_t"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="timer_create,timer_delete,timer_getoverrun,timer_gettime,timer_settime"/>
</function>
<!-- double scalb(double x, double n); -->
<function name = "scalb">
2017-08-02 09:26:16 +02:00
<returnValue type = "double"/>
2015-11-21 20:24:30 +01:00
<use-retval/>
2015-11-22 13:34:40 +01:00
<noreturn>false</noreturn>
2015-11-21 20:24:30 +01:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="scalbln,scalblnf,scalbln,scalbn,scalbnf,scalbnl"/>
</function>
2022-04-21 08:31:22 +02:00
<!-- https://man7.org/linux/man-pages/man3/bcopy.3.html -->
2015-11-21 20:24:30 +01:00
<!-- void bcopy(const void *s1, void *s2, size_t n); -->
<function name = "bcopy">
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
2017-12-08 14:53:14 +01:00
<minsize type = "argvalue" arg="3"/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-11-21 20:24:30 +01:00
<not-null/>
2019-03-12 11:41:10 +01:00
<minsize type = "argvalue" arg="3"/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="memcpy,memmove"/>
</function>
2019-03-12 11:41:10 +01:00
<!-- int bcmp(const void *s1, const void *s2, size_t n); -->
2015-11-21 20:24:30 +01:00
<function name = "bcmp">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="memcmp"/>
</function>
<!-- void bzero(void *s, size_t n); -->
<function name = "bzero">
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2015-11-21 20:24:30 +01:00
<not-null/>
2022-04-20 20:57:58 +02:00
<minsize type = "argvalue" arg="2"/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="memset"/>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/007904875/functions/ftime.html -->
2015-11-21 20:24:30 +01:00
<!-- int ftime(struct timeb *tp); -->
<function name = "ftime">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="time,gettimeofday,clock_gettime"/>
</function>
<!-- wchar_t *wcswcs(const wchar_t *ws1, const wchar_t *ws2); -->
<function name = "wcswcs">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "wchar_t *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
2022-06-03 21:33:09 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-03 21:33:09 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="wcsstr"/>
</function>
2016-01-21 16:14:59 +01:00
<!-- char *stpcpy(char *desstr, const char *srcstr); -->
<function name = "stpcpy">
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2016-01-21 16:14:59 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2021-07-11 16:42:19 +02:00
<not-overlapping-data ptr1-arg = "1" ptr2-arg="2" strlen-arg="2"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2016-01-21 16:14:59 +01:00
<not-null/>
<minsize type = "strlen" arg="2"/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2016-01-21 16:14:59 +01:00
<not-null/>
<not-uninit/>
<strz/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-21 16:14:59 +01:00
</arg>
</function>
2015-11-21 20:24:30 +01:00
<!-- char *index(const char *s, int c); -->
<function name = "index">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="strchr"/>
</function>
<!-- char *rindex(const char *s, int c); -->
<function name = "rindex">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 09:26:16 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="strrchr"/>
</function>
<!-- sighandler_t bsd_signal(int signum, sighandler_t handler); -->
<function name = "bsd_signal">
2017-08-02 09:26:16 +02:00
<returnValue type = "sighandler_t"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
</arg>
<arg nr = "2">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="sigaction"/>
</function>
2017-06-02 22:58:39 +02:00
<!-- pid_t fork(void); -->
<function name = "fork">
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2017-06-02 22:58:39 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
</function>
2015-11-21 20:24:30 +01:00
<!-- pid_t vfork(void); -->
<function name = "vfork">
2017-08-02 09:26:16 +02:00
<returnValue type = "pid_t"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<warn severity = "style" reason="Obsolescent" alternatives="fork"/>
</function>
2017-06-02 22:58:39 +02:00
<!-- int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)); -->
<function name = "pthread_atfork">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2017-06-02 22:58:39 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "3"/>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_cond_broadcast.html -->
2019-01-29 23:20:44 +01:00
<!-- int pthread_cond_signal(pthread_cond_t *cond);
int pthread_cond_broadcast(pthread_cond_t *cond); -->
<function name = "pthread_cond_signal,pthread_cond_broadcast">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_create.html -->
2017-06-02 22:58:39 +02:00
<!-- int pthread_create(pthread_t * thread, const pthread_attr_t * attr, void *(*start_routine)(void*), void * arg); -->
<function name = "pthread_create">
2017-08-02 09:26:16 +02:00
<returnValue type = "int"/>
2017-06-08 22:33:41 +02:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2017-06-02 22:58:39 +02:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in"/>
2017-06-02 22:58:39 +02:00
<arg nr = "3">
<not-null/>
</arg>
<arg nr = "4"/>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_detach.html -->
<!-- int pthread_detach(pthread_t thread); -->
2017-06-02 22:58:39 +02:00
<function name = "pthread_detach">
2017-06-08 22:33:41 +02:00
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<returnValue type = "int"/>
<arg nr = "1" direction="in">
2017-06-02 22:58:39 +02:00
<not-uninit/>
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_equal.html -->
<!-- int pthread_equal(pthread_t t1, pthread_t t2); -->
2017-06-02 22:58:39 +02:00
<function name = "pthread_equal">
2017-06-08 22:33:41 +02:00
<noreturn>false</noreturn>
2017-06-02 22:58:39 +02:00
<use-retval/>
2019-03-12 11:41:10 +01:00
<returnValue type = "int"/>
<arg nr = "1" direction="in">
2017-06-02 22:58:39 +02:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2017-06-02 22:58:39 +02:00
<not-uninit/>
</arg>
</function>
<function name = "pthread_exit">
<noreturn>true</noreturn>
<arg nr = "1"/>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_join.html -->
2017-06-02 22:58:39 +02:00
<!-- int pthread_join(pthread_t thread, void **value_ptr); -->
<function name = "pthread_join">
2017-06-08 22:33:41 +02:00
<noreturn>false</noreturn>
2017-10-05 11:38:11 +02:00
<returnValue type = "int"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2017-06-02 22:58:39 +02:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
<not-bool/>
</arg>
2017-06-02 22:58:39 +02:00
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_kill.html -->
<!-- int pthread_kill(pthread_t thread, int sig); -->
2017-06-08 22:33:41 +02:00
<function name = "pthread_kill">
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<returnValue type = "int"/>
<arg nr = "1" direction="in">
2017-06-08 22:33:41 +02:00
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2017-06-08 22:33:41 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2017-06-08 22:33:41 +02:00
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_self.html -->
<!-- pthread_t pthread_self(void); -->
2017-06-02 22:58:39 +02:00
<function name = "pthread_self">
2017-06-08 22:33:41 +02:00
<noreturn>false</noreturn>
2017-06-02 22:58:39 +02:00
<use-retval/>
2019-03-12 11:41:10 +01:00
<returnValue type = "pthread_t"/>
2017-06-02 22:58:39 +02:00
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_attr_destroy.html -->
<!-- int pthread_attr_destroy(pthread_attr_t *attr); -->
2017-06-08 22:33:41 +02:00
<function name = "pthread_attr_destroy">
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<returnValue type = "int"/>
<arg nr = "1" direction="inout">
2017-06-08 22:33:41 +02:00
<not-null/>
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- int pthread_attr_init(pthread_attr_t *attr); -->
2017-06-08 22:33:41 +02:00
<function name = "pthread_attr_init">
<noreturn>false</noreturn>
2019-03-12 11:41:10 +01:00
<returnValue type = "int"/>
<arg nr = "1" direction="out">
2017-06-08 22:33:41 +02:00
<not-null/>
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_attr_getstackaddr.html -->
2015-11-21 20:24:30 +01:00
<!-- int pthread_attr_setstackaddr(pthread_attr_t *attr, void *stackaddr); -->
<function name = "pthread_attr_setstackaddr">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2015-11-21 20:24:30 +01:00
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2015-11-21 20:24:30 +01:00
</arg>
<arg nr = "2">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="pthread_attr_setstack"/>
</function>
2022-12-22 10:07:50 +01:00
<!-- https://man7.org/linux/man-pages/man3/pthread_attr_setstack.3.html -->
<!-- int pthread_attr_setstack(pthread_attr_t *attr, void *stackaddr, size_t stacksize); -->
<function name = "pthread_attr_setstack">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<use-retval/>
<arg nr = "1" direction="in">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
</arg>
</function>
2015-11-21 20:24:30 +01:00
<!-- int pthread_attr_getstackaddr(const pthread_attr_t *attr, void **stackaddr); -->
<function name = "pthread_attr_getstackaddr">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2015-11-21 20:24:30 +01:00
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2015-11-21 20:24:30 +01:00
</arg>
<arg nr = "2">
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "style" reason="Obsolescent" alternatives="pthread_attr_getstack"/>
</function>
2018-08-08 12:22:09 +02:00
<!-- int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize); -->
<!-- int pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize); -->
<function name = "pthread_attr_setstacksize,pthread_attr_setguardsize">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2018-08-08 12:22:09 +02:00
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
2022-12-22 10:07:50 +01:00
<!-- https://man7.org/linux/man-pages/man3/pthread_attr_getstack.3.html -->
<!-- int pthread_attr_getstack(const pthread_attr_t *restrict attr, void **restrict stackaddr, size_t *restrict stacksize); -->
<function name = "pthread_attr_getstack">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<use-retval/>
<arg nr = "1" direction="in">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "2" direction="out">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "3" direction="out">
<not-null/>
<not-uninit/>
</arg>
</function>
2022-12-22 11:39:00 +01:00
<!-- int posix_trace_trygetnext_event(trace_id_t trid,
struct posix_trace_event_info *restrict event,
void *restrict data, size_t num_bytes,
size_t *restrict data_len, int *restrict unavailable); -->
<function name = "posix_trace_trygetnext_event">
<returnValue type = "int"/>
<use-retval/>
<noreturn>false</noreturn>
<arg nr = "1" direction="in">
<not-uninit/>
</arg>
<arg nr = "2" direction="out">
<not-null/>
</arg>
<arg nr = "3" direction="out">
<not-null/>
</arg>
<arg nr = "4" direction="in">
<valid>0:</valid>
</arg>
<arg nr = "5" direction="out">
<not-null/>
</arg>
<arg nr = "6" direction="out">
<not-null/>
</arg>
</function>
2022-12-22 11:58:32 +01:00
<!-- int posix_trace_timedgetnext_event(trace_id_t trid, struct posix_trace_event_info *restrict event, void *restrict data, size_t num_bytes, size_t *restrict data_len, int *restrict unavailable, const struct timespec *restrict abstime); -->
2022-12-22 11:39:00 +01:00
<function name = "posix_trace_timedgetnext_event">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<use-retval/>
<pure/>
<arg nr = "1" direction="in">
<not-uninit/>
</arg>
<arg nr = "2" direction="out">
<not-null/>
</arg>
<arg nr = "3" direction="out">
<not-null/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "5" direction="out">
<not-null/>
</arg>
<arg nr = "6" direction="out">
<not-null/>
</arg>
<arg nr = "7" direction="in">
<not-null/>
</arg>
</function>
2022-12-22 11:48:51 +01:00
<!-- void posix_trace_event(trace_event_id_t event_id,
const void *restrictdata_ptr, size_t data_len); -->
<function name = "posix_trace_event">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type = "void"/>
<arg nr = "1" direction="in">
<not-uninit/>
<valid>1:</valid>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
2022-12-22 11:39:00 +01:00
<!-- int posix_trace_getnext_event(trace_id_t trid,
struct posix_trace_event_info *restrict event,
void *restrict data, size_t num_bytes,
size_t *restrict data_len, int *restrict unavailable); -->
<function name = "posix_trace_getnext_event">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<use-retval/>
<arg nr = "1" direction="in">
<not-uninit/>
</arg>
<arg nr = "2" direction="out">
<not-uninit/>
<not-null/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<not-null/>
<minsize type = "argvalue" arg="4"/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "5" direction="out">
<not-null/>
<not-uninit/>
</arg>
<arg nr = "6" direction="out">
<not-null/>
<not-uninit/>
</arg>
</function>
2018-08-08 12:22:09 +02:00
<!-- int pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize); -->
<!-- int pthread_attr_getguardsize(const pthread_attr_t *attr, size_t *guardsize); -->
<function name = "pthread_attr_getstacksize,pthread_attr_getguardsize">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<leak-ignore/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2018-08-08 12:22:09 +02:00
<not-null/>
<not-bool/>
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_init.html -->
2018-07-21 17:52:12 +02:00
<!-- int pthread_mutex_init(pthread_mutex_t *restrict mutex, const pthread_mutexattr_t *restrict attr); -->
<function name = "pthread_mutex_init">
<noreturn>false</noreturn>
<returnValue type = "int"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2018-07-21 17:52:12 +02:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2018-07-21 17:52:12 +02:00
<!-- NULL is valid -->
</arg>
</function>
<!-- int pthread_mutex_destroy(pthread_mutex_t *mutex); -->
<function name = "pthread_mutex_destroy">
<noreturn>false</noreturn>
<returnValue type = "int"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="inout">
2018-07-21 17:52:12 +02:00
<not-null/>
<not-uninit/>
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_lock.html -->
2018-07-21 17:52:12 +02:00
<!-- int pthread_mutex_lock(pthread_mutex_t *mutex); -->
<function name = "pthread_mutex_lock">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="inout">
2018-07-21 17:52:12 +02:00
<not-null/>
<not-uninit/>
2019-03-12 11:41:10 +01:00
<not-bool/>
2018-07-21 17:52:12 +02:00
</arg>
</function>
<!-- int pthread_mutex_trylock(pthread_mutex_t *mutex); -->
<function name = "pthread_mutex_trylock">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
2019-07-07 12:57:02 +02:00
<use-retval/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="inout">
2018-07-21 17:52:12 +02:00
<not-null/>
<not-uninit/>
2019-03-12 11:41:10 +01:00
<not-bool/>
2018-07-21 17:52:12 +02:00
</arg>
</function>
<!-- int pthread_mutex_unlock(pthread_mutex_t *mutex); -->
<function name = "pthread_mutex_unlock">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type = "int"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="inout">
2018-07-21 17:52:12 +02:00
<not-null/>
<not-uninit/>
2019-03-12 11:41:10 +01:00
<not-bool/>
2018-07-21 17:52:12 +02:00
</arg>
</function>
2015-11-21 20:24:30 +01:00
<!-- char *tempnam(const char *dir, const char *pfx); -->
<function name = "tempnam">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-22 13:34:40 +01:00
<not-uninit/>
2019-03-12 11:41:10 +01:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-03-12 11:41:10 +01:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'tempnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'tempnam_r'.</warn>
</function>
<!-- char *crypt(const char *key, const char *salt); -->
<function name = "crypt">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2019-03-12 11:41:10 +01:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-03-12 11:41:10 +01:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'.</warn>
</function>
<!-- char *ttyname(int fd); -->
<function name = "ttyname">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2019-04-26 10:16:29 +02:00
<valid>0:</valid>
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'.</warn>
</function>
2019-04-26 10:24:10 +02:00
<!-- int ttyname_r(int fd, char *buf, size_t buflen); -->
2020-05-08 09:13:38 +02:00
<function name = "ttyname_r">
2019-04-26 10:24:10 +02:00
<use-retval/>
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<valid>0:</valid>
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "2" direction="inout">
<not-null/>
<not-uninit/>
<minsize type = "argvalue" arg="3"/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-04-26 10:24:10 +02:00
<valid>0:</valid>
</arg>
</function>
2015-11-21 20:24:30 +01:00
<!-- struct spwd *getspnam(const char *name); -->
<function name = "getspnam">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct spwd *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getspnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getspnam_r'.</warn>
</function>
<!-- struct spwd *getspent(void); -->
<function name = "getspent">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct spwd *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<warn severity = "portability">Non reentrant function 'getspent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getspent_r'.</warn>
</function>
<!-- struct spwd *fgetspent(FILE *fp); -->
<function name = "fgetspent">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct spwd *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'fgetspent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'fgetspent_r'.</warn>
</function>
<!-- struct spwd *sgetspent(const char *s); -->
<function name = "sgetspent">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct spwd *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'sgetspent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'sgetspent_r'.</warn>
</function>
<!-- struct passwd *fgetpwent(FILE *stream); -->
<function name = "fgetpwent">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct passwd *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'fgetpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'fgetpwent_r'.</warn>
</function>
<!-- struct group *getgrent(void); -->
<function name = "getgrent">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct group *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<warn severity = "portability">Non reentrant function 'getgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrent_r'.</warn>
</function>
2016-10-18 17:01:05 +02:00
<!-- int getgrent_r(struct group *gbuf, char *buf, size_t buflen, struct group **gbufp) -->
<function name = "getgrent_r">
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-18 17:01:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out"/>
<arg nr = "2" direction="out">
<minsize type = "argvalue" arg="3"/>
2016-10-18 17:01:05 +02:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2016-12-05 10:30:11 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "4" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-10-18 17:01:05 +02:00
</function>
2015-11-21 20:24:30 +01:00
<!-- struct group *fgetgrent(FILE *stream); -->
<function name = "fgetgrent">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct group *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'fgetgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'fgetgrent_r'.</warn>
</function>
<!-- int getnetgrent(char **host, char **user, char **domain); -->
<function name = "getnetgrent">
<noreturn>false</noreturn>
<leak-ignore/>
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2015-11-21 20:24:30 +01:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2015-11-21 20:24:30 +01:00
<not-null/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="out">
2015-11-21 20:24:30 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getnetgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getnetgrent_r'.</warn>
</function>
<!-- struct group *getgrnam(const char *name); -->
<function name = "getgrnam">
2015-11-22 13:34:40 +01:00
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "struct group *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-null/>
2015-11-22 13:34:40 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'.</warn>
</function>
<!-- struct group *getgrgid(gid_t gid); -->
<function name = "getgrgid">
2017-08-02 14:11:50 +02:00
<returnValue type = "struct group *"/>
2015-11-22 13:34:40 +01:00
<use-retval/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2015-11-21 20:24:30 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2015-11-21 20:24:30 +01:00
</arg>
<warn severity = "portability">Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'.</warn>
</function>
2022-05-02 12:28:54 +02:00
<!-- https://man7.org/linux/man-pages/man3/getgrnam.3.html -->
<!-- int getgrnam_r(const char *restrict name, struct group *restrict grp, char *restrict buf, size_t buflen, struct group **restrict result); -->
<function name = "getgrnam_r">
<returnValue type = "int"/>
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-null/>
<not-uninit/>
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2022-05-02 12:28:54 +02:00
</arg>
<arg nr = "2" direction="out">
<not-null/>
</arg>
<arg nr = "3" direction="out">
<not-null/>
<minsize type = "argvalue" arg="4"/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "5" direction="out">
<not-null/>
2022-12-22 10:07:50 +01:00
</arg>
2022-05-02 12:28:54 +02:00
</function>
<!-- https://man7.org/linux/man-pages/man3/getgrnam.3.html -->
<!-- int getgrgid_r(gid_t gid, struct group *restrict grp, char *restrict buf, size_t buflen, struct group **restrict result); -->
<function name = "getgrgid_r">
<returnValue type = "int"/>
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-null/>
<not-uninit/>
<not-bool/>
</arg>
<arg nr = "2" direction="out">
<not-null/>
</arg>
<arg nr = "3" direction="out">
<not-null/>
<minsize type = "argvalue" arg="4"/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr = "5" direction="out">
<not-null/>
2022-12-22 10:07:50 +01:00
</arg>
</function>
2015-11-21 20:24:30 +01:00
<!-- 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>
2022-05-04 20:35:01 +02:00
<!-- https://man7.org/linux/man-pages/man3/getline.3.html -->
<!-- ssize_t getline(char **lineptr, size_t *n, FILE *stream); -->
<function name = "getline">
<returnValue type = "ssize_t"/>
<noreturn>false</noreturn>
<leak-ignore/>
<!-- If *lineptr is set to NULL before the call, then getline() will
allocate a buffer for storing the line. This buffer should be
freed by the user program even if getline() failed.-->
<arg nr = "1" direction="out"/>
<arg nr = "2" direction="inout">
<not-null/>
</arg>
<arg nr = "3" direction="in">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- https://man7.org/linux/man-pages/man3/getline.3.html -->
<!-- ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream); -->
<function name = "getdelim">
<returnValue type = "ssize_t"/>
<noreturn>false</noreturn>
<leak-ignore/>
<!-- If *lineptr is set to NULL before the call, then getdelim() will
allocate a buffer for storing the line. This buffer should be
freed by the user program even if getdelim() failed.-->
<arg nr = "1" direction="out"/>
<arg nr = "2" direction="inout">
<not-null/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
<valid>0:255</valid>
</arg>
<arg nr = "4" direction="in">
<not-null/>
<not-uninit/>
</arg>
</function>
2022-04-26 10:04:15 +02:00
<!-- https://man7.org/linux/man-pages/man3/getlogin.3.html -->
<!-- int getlogin_r(char *buf, size_t bufsize); -->
<function name = "getlogin_r">
<returnValue type = "int"/>
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="out">
<not-null/>
<minsize type = "argvalue" arg="2"/>
</arg>
<arg nr = "2" direction="in">
<not-bool/>
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
2015-11-21 20:24:30 +01:00
<!-- char *ctermid(char *s); -->
<function name = "ctermid">
2017-08-02 14:11:50 +02:00
<returnValue type = "char *"/>
2015-11-21 20:24:30 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2015-11-21 20:24:30 +01:00
<warn severity = "portability">Non reentrant function 'ctermid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ctermid_r'.</warn>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html -->
2016-01-11 14:54:01 +01:00
<!-- char *realpath(const char *path, char *resolved_path); -->
<function name = "realpath">
2017-08-02 14:11:50 +02:00
<returnValue type = "char *"/>
2016-01-11 14:54:01 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-11 16:34:47 +01:00
<not-uninit/>
2016-01-11 14:54:01 +01:00
<not-null/>
2022-06-02 09:41:10 +02:00
<strz/>
2016-01-11 14:54:01 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-01-11 14:54:01 +01:00
</function>
2019-05-25 22:49:01 +02:00
<!-- long telldir(DIR *dirp); -->
<function name = "telldir">
<returnValue type = "long"/>
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="inout">
<not-null/>
<not-uninit/>
<not-bool/>
</arg>
</function>
2022-04-20 15:23:46 +02:00
<!-- https://man7.org/linux/man-pages/man3/wcswidth.3.html -->
<!-- int wcswidth(const wchar_t *s, size_t n); -->
<function name = "wcswidth">
<returnValue type = "int"/>
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-null/>
<not-uninit/>
<not-bool/>
2022-12-22 10:07:50 +01:00
<minsize type = "argvalue" arg="2"/>
<strz/>
2022-04-20 15:23:46 +02:00
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
2019-05-25 23:32:28 +02:00
<!-- http://man7.org/linux/man-pages/man3/scandir.3.html -->
2022-12-22 10:07:50 +01:00
<!-- int scandir(const char *dirp,
2019-05-25 23:32:28 +02:00
struct dirent ***namelist,
int (*filter)(const struct dirent *),
int (*compar)(const struct dirent **, const struct dirent **));-->
<function name = "scandir">
<use-retval/>
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2019-05-25 23:32:28 +02:00
</arg>
<arg nr = "2" direction="out">
<not-null/>
</arg>
<arg nr = "3" direction="in">
<not-uninit/>
</arg>
<arg nr = "4" direction="in">
<not-uninit/>
<not-null/>
<not-bool/>
</arg>
</function>
2019-05-01 13:58:54 +02:00
<!-- http://man7.org/linux/man-pages/man3/fileno.3p.html -->
<!-- int fileno(FILE *stream); -->
2016-01-11 20:35:56 +01:00
<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/>
2019-05-01 13:58:54 +02:00
<arg nr = "1" direction="inout">
2016-01-11 20:35:56 +01:00
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-11 20:35:56 +01:00
</arg>
</function>
2022-02-07 09:03:39 +01:00
<!-- int fseeko (FILE *stream, off_t offset , int whence); -->
<!-- int fseeko64(FILE *stream, off64_t offset, int whence); -->
<function name = "fseeko,fseeko64">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-12 17:00:33 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
<not-uninit/>
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2016-01-14 12:30:12 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-01-12 17:00:33 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2016-01-14 12:30:12 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-02-07 09:03:39 +01:00
<valid>0:2</valid>
2016-01-12 17:00:33 +01:00
</arg>
</function>
<!-- off_t ftello(FILE *stream); -->
<function name = "ftello">
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "off_t"/>
2016-01-12 17:00:33 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1">
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-12 17:00:33 +01:00
</arg>
</function>
2019-03-12 11:41:10 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/exec.html -->
2022-12-22 10:07:50 +01:00
<!-- int execv(const char *path, char *const argv[]);
2016-01-13 11:57:21 +01:00
int execvp(const char *file, char *const argv[]); -->
<function name = "execv,execvp">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-13 11:57:21 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-13 11:57:21 +01:00
<not-null/>
<not-uninit/>
2017-06-02 22:58:39 +02:00
<strz/>
2016-01-13 11:57:21 +01:00
</arg>
<arg nr = "2">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-13 11:57:21 +01:00
</arg>
</function>
<!-- pid_t wait(int *stat_loc); -->
<function name = "wait">
2017-08-02 14:11:50 +02:00
<returnValue type = "pid_t"/>
2016-01-13 11:57:21 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-01-13 11:57:21 +01:00
</function>
<!-- pid_t waitpid(pid_t pid, int *stat_loc, int options); -->
<function name = "waitpid">
2017-08-02 14:11:50 +02:00
<returnValue type = "pid_t"/>
2016-01-13 11:57:21 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-13 11:57:21 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-01-13 11:57:21 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out"/>
<arg nr = "3" direction="in">
2016-01-13 11:57:21 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-13 11:57:21 +01:00
</arg>
</function>
2016-01-21 15:48:08 +01:00
<!-- see http://man7.org/linux/man-pages/man3/wcsnlen.3.html-->
<!-- size_t wcsnlen(const wchar_t *s, size_t maxlen);-->
<!-- see http://man7.org/linux/man-pages/man3/strnlen.3.html-->
<!-- size_t strnlen(const char *s, size_t maxlen); -->
<function name = "strnlen,wcsnlen">
<use-retval/>
2017-08-02 14:11:50 +02:00
<returnValue type = "size_t"/>
2016-01-21 15:48:08 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-21 15:48:08 +01:00
<not-null/>
<not-uninit/>
2022-04-21 09:02:02 +02:00
<minsize type = "argvalue" arg="2"/>
2016-01-21 15:48:08 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2016-01-21 15:48:08 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2016-01-21 15:48:08 +01:00
</arg>
</function>
2022-04-20 17:32:26 +02:00
<!-- https://man7.org/linux/man-pages/man3/wcwidth.3.html -->
<!-- int wcwidth(wchar_t c); -->
<function name = "wcwidth">
<returnValue type = "int"/>
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr = "1" direction="in">
<not-uninit/>
<not-bool/>
</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">
2022-05-01 15:24:57 +02:00
<!-- It returns the position of the first bit set, or 0 if no bits are set in i. -->
<returnValue type = "int">arg1==0 &0</returnValue>
2016-01-22 10:40:04 +01:00
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
</function>
2016-01-30 18:14:08 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/shmctl.html -->
2016-01-22 10:40:04 +01:00
<!-- int shmctl(int shmid, int cmd, struct shmid_ds *buf); -->
<function name = "shmctl">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-22 10:40:04 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-03-12 11:41:10 +01:00
</arg>
<arg nr = "3">
<!-- direction (in/out) depends on the value of arg2 "cmd" -->
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
</function>
2016-01-30 18:14:08 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/009695399/functions/shmget.html -->
2016-01-22 10:40:04 +01:00
<!-- int shmget(key_t key, size_t size, int shmflg); -->
<function name = "shmget">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-22 10:40:04 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-12-05 10:30:11 +01:00
<valid>0:</valid>
2016-01-22 10:40:04 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "3" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/shmat.2.html -->
<!-- void *shmat(int shmid, const void *shmaddr, int shmflg); -->
<function name = "shmat">
<noreturn>false</noreturn>
2017-10-05 11:38:11 +02:00
<returnValue type = "void *"/>
2016-01-22 10:40:04 +01:00
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in"/>
<arg nr = "3" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/shmat.2.html -->
<!-- int shmdt(const void *shmaddr);-->
<function name = "shmdt">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-22 10:40:04 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-01-22 10:40:04 +01:00
</function>
<!-- http://man7.org/linux/man-pages/man2/setrlimit.2.html -->
<!-- int getrlimit(int resource, struct rlimit *rlim); -->
<function name = "getrlimit">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-22 10:40:04 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="out">
2016-01-22 10:40:04 +01:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/setrlimit.2.html -->
<!-- int setrlimit(int resource, const struct rlimit *rlim); -->
<function name = "setrlimit">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-01-22 10:40:04 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 11:41:10 +01:00
<arg nr = "1" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
2019-03-12 11:41:10 +01:00
<arg nr = "2" direction="in">
2016-01-22 10:40:04 +01:00
<not-uninit/>
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-01-22 10:40:04 +01:00
</arg>
</function>
2016-05-19 11:51:49 +02:00
<!-- http://man7.org/linux/man-pages/man3/glob.3.html -->
<!-- int glob(const char *pattern, int flags, int (*errfunc) (const char *epath, int eerrno), glob_t *pglob);-->
<function name = "glob">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-05-19 11:51:49 +02:00
<noreturn>false</noreturn>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-05-19 11:51:49 +02:00
<not-uninit/>
<not-null/>
2022-06-02 09:41:10 +02:00
<strz/>
2016-05-19 11:51:49 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-05-19 11:51:49 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-05-19 11:51:49 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2016-05-19 13:21:05 +02:00
<not-uninit/>
2016-05-19 11:51:49 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "4" direction="out">
2016-05-19 11:51:49 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-05-19 11:51:49 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/glob.3.html -->
<!-- void globfree(glob_t *pglob)-->
<function name = "globfree">
<noreturn>false</noreturn>
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2016-05-19 11:51:49 +02:00
<arg nr = "1">
<not-uninit/>
<not-null/>
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/wcpncpy.html -->
2017-12-08 21:28:48 +01:00
<!-- http://man7.org/linux/man-pages/man3/wcpncpy.3.html -->
<!-- wchar_t *wcpncpy(wchar_t *dest, const wchar_t *src, size_t n); -->
<function name = "wcpncpy">
<returnValue type = "wchar_t *"/>
<noreturn>false</noreturn>
<leak-ignore/>
2021-07-10 18:41:36 +02:00
<not-overlapping-data ptr1-arg = "1" ptr2-arg="2" size-arg="3"/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out">
2017-12-08 21:28:48 +01:00
<not-null/>
2022-08-29 12:24:58 +02:00
<minsize type = "argvalue" arg="3" baseType="wchar_t"/>
2017-12-08 21:28:48 +01:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-12-08 21:28:48 +01:00
<not-null/>
<not-uninit/>
2022-06-03 21:33:09 +02:00
<minsize type = "argvalue" arg="3"/>
2017-12-08 21:28:48 +01:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2017-12-08 21:28:48 +01:00
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
2017-12-08 21:36:54 +01:00
<!-- http://man7.org/linux/man-pages/man3/stpncpy.3.html -->
<!-- char *stpncpy(char *dest, const char *src, size_t n); -->
<function name = "stpncpy">
<returnValue type = "char *"/>
<noreturn>false</noreturn>
<leak-ignore/>
2021-07-10 18:41:36 +02:00
<not-overlapping-data ptr1-arg = "1" ptr2-arg="2" size-arg="3"/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out">
2017-12-08 21:36:54 +01:00
<not-null/>
<minsize type = "argvalue" arg="3"/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-12-08 21:36:54 +01:00
<not-null/>
<not-uninit/>
2022-06-02 09:41:10 +02:00
<strz/>
2017-12-08 21:36:54 +01:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2017-12-08 21:36:54 +01:00
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
2016-12-05 16:46:49 +01:00
<!-- http://man7.org/linux/man-pages/man3/memccpy.3.html -->
<!-- void *memccpy(void *dest, const void *src, int c, size_t n);-->
<function name = "memccpy">
<leak-ignore/>
2017-10-05 11:38:11 +02:00
<returnValue type = "void *"/>
2016-12-05 16:46:49 +01:00
<noreturn>false</noreturn>
2021-07-10 18:41:36 +02:00
<not-overlapping-data ptr1-arg = "1" ptr2-arg="2" size-arg="4"/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out">
2016-12-05 16:46:49 +01:00
<not-null/>
<minsize type = "sizeof" arg="2"/>
<minsize type = "argvalue" arg="4"/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-12-05 16:46:49 +01:00
<not-null/>
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2016-12-05 16:46:49 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-12-05 16:46:49 +01:00
<valid>0:</valid>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "4" direction="in">
2016-12-05 16:46:49 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-05 16:46:49 +01:00
<valid>0:</valid>
</arg>
</function>
2016-10-21 11:43:01 +02:00
<!-- http://man7.org/linux/man-pages/man3/opterr.3.html-->
<!-- int getopt(int argc, char * const argv[], const char *optstring); -->
<function name = "getopt">
<leak-ignore/>
2019-02-05 21:30:30 +01:00
<noreturn>false</noreturn>
<returnValue type = "int"/>
<use-retval/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-10-21 11:43:01 +02:00
<valid>0:</valid>
</arg>
<arg nr = "2">
<not-uninit/>
<not-null/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2022-06-02 09:41:10 +02:00
<strz/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/setitimer.2.html-->
<!-- int getitimer(int which, struct itimerval *curr_value); -->
<function name = "getitimer">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="out">
2016-10-21 11:43:01 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/setitimer.2.html-->
<!-- int setitimer(int which, const struct itimerval *new_value, struct itimerval *old_value); -->
<function name = "setitimer">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="out">
2016-10-21 11:43:01 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/sigaction.2.html -->
<!-- int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact); -->
<function name = "sigaction">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in"/>
<arg nr = "3" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-10-21 11:43:01 +02:00
</function>
2016-12-04 12:24:26 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/sigaltstack.html -->
<!-- int sigaltstack(const stack_t *restrict ss, stack_t *restrict oss); -->
<function name = "sigaltstack">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-12-04 12:24:26 +01:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-12-04 12:24:26 +01:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="out">
2018-05-08 09:30:08 +02:00
<not-bool/>
</arg>
2016-12-04 12:24:26 +01:00
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/siglongjmp.html -->
2017-08-02 14:11:50 +02:00
<!-- void siglongjmp(sigjmp_buf env, int val); -->
2017-06-02 22:58:39 +02:00
<function name = "siglongjmp,_longjmp">
2019-02-05 21:30:30 +01:00
<returnValue type = "void"/>
2017-05-29 00:47:24 +02:00
<noreturn>true</noreturn>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-05-29 00:47:24 +02:00
<not-uninit/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-05-29 00:47:24 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2017-05-29 00:47:24 +02:00
</arg>
</function>
2016-12-04 12:24:26 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/sigsetjmp.html -->
<!-- int sigsetjmp(sigjmp_buf env, int savemask); -->
2017-06-02 22:58:39 +02:00
<function name = "sigsetjmp,_setjmp">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-12-04 12:24:26 +01:00
<noreturn>false</noreturn>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out"/>
<arg nr = "2" direction="in">
2016-12-04 12:24:26 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-04 12:24:26 +01:00
</arg>
</function>
2017-08-02 14:11:50 +02:00
<!-- int sigsuspend(const sigset_t *mask);-->
2017-06-08 22:33:41 +02:00
<function name = "sigsuspend">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2017-06-08 22:33:41 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-06-08 22:33:41 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-06-08 22:33:41 +02:00
</arg>
</function>
2016-12-04 12:24:26 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/sigprocmask.html -->
2020-02-22 23:26:08 +01:00
<!-- int pthread_sigmask(int how, const sigset_t *restrict set, sigset_t *restrict oset);
2022-12-22 11:48:51 +01:00
int sigprocmask(int how, const sigset_t *restrict set, sigset_t *restrict oset); -->
2016-12-04 19:15:32 +01:00
<function name = "pthread_sigmask,sigprocmask">
2016-12-04 12:24:26 +01:00
<noreturn>false</noreturn>
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-12-04 12:24:26 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-12-04 12:24:26 +01:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-12-04 12:24:26 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-12-04 12:24:26 +01:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="out">
2016-12-04 12:24:26 +01:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-12-04 12:24:26 +01:00
</arg>
2016-12-04 19:15:32 +01:00
</function>
2019-04-26 19:26:04 +02:00
<!-- pubs.opengroup.org/onlinepubs/9699919799/functions/sighold.html -->
<function name = "sighold,sigignore,sigpause,sigrelse">
<noreturn>false</noreturn>
<returnValue type = "int"/>
<arg nr = "1" direction="in">
<not-uninit/>
</arg>
</function>
<function name = "sigset">
<noreturn>false</noreturn>
<returnValue type = "void*"/>
<arg nr = "1" direction="in">
<not-uninit/>
</arg>
<arg nr = "2" direction="in">
<not-uninit/>
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/getrusage.html -->
2016-10-21 11:43:01 +02:00
<!-- http://man7.org/linux/man-pages/man2/getrusage.2.html-->
<!-- int getrusage(int who, struct rusage *usage);-->
<function name = "getrusage">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="out">
2016-10-21 11:43:01 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigemptyset.html -->
2016-10-21 11:43:01 +02:00
<!-- http://man7.org/linux/man-pages/man3/sigsetops.3.html -->
<!-- int sigemptyset(sigset_t *set); -->
<function name = "sigemptyset">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out">
2016-10-21 11:43:01 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigfillset.html -->
2016-10-21 11:43:01 +02:00
<!-- http://man7.org/linux/man-pages/man3/sigsetops.3.html -->
<!-- int sigfillset(sigset_t *set); -->
<function name = "sigfillset">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out">
2016-10-21 11:43:01 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigaddset.html -->
2016-10-21 11:43:01 +02:00
<!-- http://man7.org/linux/man-pages/man3/sigsetops.3.html -->
<!-- int sigaddset(sigset_t *set, int signum); -->
<function name = "sigaddset">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="inout">
<not-uninit/>
2016-10-21 11:43:01 +02:00
<not-null/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigdelset.html -->
2016-10-21 11:43:01 +02:00
<!-- http://man7.org/linux/man-pages/man3/sigsetops.3.html -->
<!-- int sigdelset(sigset_t *set, int signum);-->
<function name = "sigdelset">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="inout">
2016-10-21 11:43:01 +02:00
<not-null/>
2019-03-12 13:35:06 +01:00
<not-uninit/>
2016-10-21 11:43:01 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
2019-02-05 21:30:30 +01:00
<!-- http://pubs.opengroup.org/onlinepubs/000095399/functions/sigismember.html -->
2016-10-21 11:43:01 +02:00
<!-- int sigismember(const sigset_t *set, int signum);-->
<function name = "sigismember">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2016-10-21 11:43:01 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-02-05 21:30:30 +01:00
<use-retval/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2016-10-21 11:43:01 +02:00
<not-null/>
2019-03-12 13:35:06 +01:00
<not-uninit/>
2016-10-21 11:43:01 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2016-10-21 11:43:01 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2016-10-21 11:43:01 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_spawn.html -->
2017-08-02 14:11:50 +02:00
<!-- int posix_spawn(pid_t *restrict pid, const char *restrict path,
const posix_spawn_file_actions_t *file_actions,
const posix_spawnattr_t *restrict attrp,
char *const argv[restrict], char *const envp[restrict]);
int posix_spawnp(pid_t *restrict pid, const char *restrict file,
const posix_spawn_file_actions_t *file_actions,
const posix_spawnattr_t *restrict attrp,
char *const argv[restrict], char * const envp[restrict]); -->
2017-06-02 22:58:39 +02:00
<function name = "posix_spawn,posix_spawnp">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2017-06-02 22:58:39 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out"/>
2022-06-02 09:41:10 +02:00
<arg nr = "2" direction="in">
2022-12-22 11:48:51 +01:00
<not-uninit/>
<strz/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in"/>
<arg nr = "4" direction="in"/>
<arg nr = "5"/>
2018-05-08 09:30:08 +02:00
<arg nr = "6">
<not-bool/>
</arg>
2017-06-02 22:58:39 +02:00
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/msgctl.html -->
2017-08-02 14:11:50 +02:00
<!-- int msgctl(int msqid, int cmd, struct msqid_ds *buf); -->
2017-06-06 23:21:05 +02:00
<function name = "msgctl">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2017-06-06 23:21:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
<arg nr = "3">
2019-03-12 13:35:06 +01:00
<!-- direction (in/out) depends on the value of arg2 "cmd" -->
2017-06-06 23:21:05 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/msgget.html -->
2017-08-02 14:11:50 +02:00
<!-- int msgget(key_t key, int msgflg);-->
2017-06-06 23:21:05 +02:00
<function name = "msgget">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2017-06-06 23:21:05 +02:00
<noreturn>false</noreturn>
<use-retval/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/msgrcv.html -->
2017-08-02 14:11:50 +02:00
<!-- ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp,
int msgflg); -->
2017-06-06 23:21:05 +02:00
<function name = "msgrcv">
2017-08-02 14:11:50 +02:00
<returnValue type = "ssize_t"/>
2017-06-06 23:21:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="out">
2017-06-06 23:21:05 +02:00
<not-null/>
2019-03-12 13:35:06 +01:00
<minsize type = "argvalue" arg="3"/>
<!-- TODO: sizeof(long) must be added to this value, but this can not be configured yet -->
2017-06-06 23:21:05 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-03-12 13:35:06 +01:00
<valid>0:</valid>
2017-06-06 23:21:05 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "4" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "5" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/msgsnd.html -->
2017-08-02 14:11:50 +02:00
<!-- int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); -->
2017-06-06 23:21:05 +02:00
<function name = "msgsnd">
2017-08-02 14:11:50 +02:00
<returnValue type = "int"/>
2017-06-06 23:21:05 +02:00
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-06-06 23:21:05 +02:00
<not-null/>
2019-03-12 13:35:06 +01:00
<not-uninit/>
<minsize type = "argvalue" arg="3"/>
<!-- TODO: sizeof(long) must be added to this value, but this can not be configured yet -->
2017-06-06 23:21:05 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-03-12 13:35:06 +01:00
<valid>0:</valid>
2017-06-06 23:21:05 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "4" direction="in">
2017-06-06 23:21:05 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-06-06 23:21:05 +02:00
</arg>
</function>
2017-09-19 21:25:19 +02:00
<!-- http://man7.org/linux/man-pages/man3/tcflow.3p.html -->
<!-- int tcflow(int fildes, int action); -->
<function name = "tcflow">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-09-19 21:25:19 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2017-09-19 21:25:19 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-09-19 21:25:19 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-09-19 21:25:19 +02:00
</arg>
</function>
2017-09-19 15:10:37 +02:00
<!-- http://man7.org/linux/man-pages/man3/tcflush.3p.html -->
<!-- int tcflush(int fildes, int queue_selector); -->
<function name = "tcflush">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2017-09-19 15:10:37 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-09-19 15:10:37 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcsendbreak.html -->
2017-09-19 21:25:19 +02:00
<!-- http://man7.org/linux/man-pages/man3/tcsendbreak.3p.html -->
<!-- int tcsendbreak(int fildes, int duration); -->
<function name = "tcsendbreak">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-09-19 21:25:19 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2017-09-19 21:25:19 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-09-19 21:25:19 +02:00
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcgetattr.html -->
2017-09-19 15:10:37 +02:00
<!-- http://man7.org/linux/man-pages/man3/tcgetattr.3p.html -->
<!-- int tcgetattr(int fildes, struct termios *termios_p); -->
<function name = "tcgetattr">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2017-09-19 15:10:37 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="out">
2017-09-19 15:10:37 +02:00
<not-null/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-09-19 15:10:37 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/tcsetattr.3p.html -->
<!-- int tcsetattr(int fildes, int optional_actions, const struct termios *termios_p); -->
<function name = "tcsetattr">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2017-09-19 15:10:37 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2017-09-19 15:10:37 +02:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2017-09-19 15:10:37 +02:00
<not-null/>
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-09-19 15:10:37 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/cfsetospeed.3p.html -->
<!-- int cfsetospeed(struct termios *termios_p, speed_t speed); -->
<!-- http://man7.org/linux/man-pages/man3/cfsetispeed.3p.html -->
<!-- int cfsetispeed(struct termios *termios_p, speed_t speed); -->
<function name = "cfsetospeed,cfsetispeed">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="inout">
2017-09-19 15:10:37 +02:00
<not-uninit/>
<not-null/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2017-09-19 15:10:37 +02:00
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/tcdrain.3p.html -->
<!-- int tcdrain(int fildes); -->
<function name = "tcdrain">
<returnValue type = "int"/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2017-09-19 15:10:37 +02:00
<not-uninit/>
2018-05-08 09:30:08 +02:00
<not-bool/>
2019-04-26 16:58:21 +02:00
<valid>0:</valid>
2017-09-19 15:10:37 +02:00
</arg>
</function>
2019-02-17 23:35:34 +01:00
<!-- These are defined as macros http://man7.org/linux/man-pages/man7/inode.7.html -->
<!-- It is better to configure them as functions -->
<function name = "S_ISREG,S_ISDIR,S_ISCHR,S_ISBLK,S_ISFIFO,S_ISLNK,S_ISSOCK">
<returnValue type = "int"/>
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2019-02-17 23:35:34 +01:00
<not-uninit/>
<not-bool/>
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/swab.html -->
2018-03-20 11:40:50 +01:00
<!-- void swab(const void * src, void* dest, ssize_t bytes); -->
2018-03-19 13:12:16 +01:00
<function name = "swab">
2018-03-19 20:33:36 +01:00
<returnValue type = "void"/>
<noreturn>false</noreturn>
<leak-ignore/>
2021-07-10 18:27:44 +02:00
<not-overlapping-data ptr1-arg = "1" ptr2-arg="2" size-arg="3"/>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="in">
2022-04-25 18:34:31 +02:00
<not-null/>
2018-03-19 20:33:36 +01:00
<not-uninit/>
2019-03-12 13:35:06 +01:00
<minsize type = "argvalue" arg="3"/>
2018-03-19 20:33:36 +01:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="out">
2018-03-19 20:33:36 +01:00
<not-null/>
2019-03-12 13:35:06 +01:00
<minsize type = "argvalue" arg="3"/>
2018-03-19 20:33:36 +01:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2018-03-19 20:33:36 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-03-12 13:35:06 +01:00
<valid>0:</valid>
2018-03-19 20:33:36 +01:00
</arg>
2018-03-19 13:12:16 +01:00
</function>
2018-05-08 09:30:08 +02:00
<!-- void sync(void); -->
2018-03-19 13:12:16 +01:00
<function name = "sync">
2018-03-19 20:33:36 +01:00
<returnValue type = "void"/>
<noreturn>false</noreturn>
2018-03-19 13:12:16 +01:00
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/gethostname.html -->
2018-07-18 09:40:06 +02:00
<!-- int gethostname(char *name, size_t len); -->
<function name = "gethostname">
<noreturn>false</noreturn>
<returnValue type = "int"/>
2019-03-12 13:35:06 +01:00
<leak-ignore/>
<arg nr = "1" direction="out">
2018-07-18 09:40:06 +02:00
<not-null/>
<minsize type = "argvalue" arg="2"/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2018-07-18 09:40:06 +02:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2018-07-18 09:40:06 +02:00
<valid>1:</valid>
</arg>
</function>
2019-03-12 13:35:06 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_memalign.html -->
2018-11-19 18:23:00 +01:00
<!-- int posix_memalign(void **memptr, size_t alignment, size_t size); -->
<function name = "posix_memalign">
<use-retval/>
<returnValue type = "int"/>
<noreturn>false</noreturn>
2019-03-12 13:35:06 +01:00
<arg nr = "1" direction="out">
2018-11-19 18:23:00 +01:00
<not-null/>
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "2" direction="in">
2018-11-19 18:23:00 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2018-11-19 18:23:00 +01:00
</arg>
2019-03-12 13:35:06 +01:00
<arg nr = "3" direction="in">
2018-11-19 18:23:00 +01:00
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2018-11-19 18:23:00 +01:00
<valid>0:</valid>
</arg>
</function>
2019-03-20 14:10:36 +01:00
<!-- https://pubs.opengroup.org/onlinepubs/7908799/xsh/valloc.html -->
<!-- void *valloc(size_t size); -->
<function name = "valloc">
<use-retval/>
<returnValue type = "void *"/>
<noreturn>false</noreturn>
<arg nr = "1" direction="in">
<not-uninit/>
2020-02-22 23:26:08 +01:00
<not-bool/>
2019-03-20 14:10:36 +01:00
<valid>0:</valid>
</arg>
<warn severity = "style" alternatives="malloc,mmap" reason="Obsolete"/>
</function>
<memory>
<alloc init = "false" buffer-size="malloc">valloc</alloc>
<dealloc>free</dealloc>
</memory>
2018-11-19 18:23:00 +01:00
<memory>
2019-03-12 13:35:06 +01:00
<alloc init = "false" arg="1">posix_memalign</alloc>
2018-11-19 18:23:00 +01:00
<dealloc>free</dealloc>
</memory>
2019-05-25 23:32:28 +02:00
<memory>
<alloc init = "false" arg="2">scandir</alloc>
<dealloc>free</dealloc>
</memory>
2015-11-21 16:10:46 +01:00
<memory>
<alloc init = "true">strndup</alloc>
<alloc init = "true">wcsdup</alloc>
<dealloc>free</dealloc>
2022-05-04 20:35:01 +02:00
</memory>
<memory>
<alloc init = "true" arg="1">getline</alloc>
<alloc init = "true" arg="1">getdelim</alloc>
<dealloc>free</dealloc>
</memory>
2015-11-21 16:10:46 +01:00
<memory>
<alloc init = "true">mmap</alloc>
<alloc init = "true">mmap64</alloc>
<dealloc>munmap</dealloc>
</memory>
<resource>
<alloc init = "true">open</alloc>
2019-05-16 15:53:22 +02:00
<alloc init = "true">mkstemp</alloc>
2015-11-21 16:10:46 +01:00
<alloc init = "true">creat</alloc>
2019-04-25 16:56:22 +02:00
<alloc init = "true">openat</alloc>
2015-11-21 16:10:46 +01:00
<alloc init = "true">socket</alloc>
<dealloc>close</dealloc>
2023-12-06 10:17:32 +01:00
<dealloc>fdopen</dealloc>
2015-11-21 16:10:46 +01:00
</resource>
<resource>
<alloc init = "true">opendir</alloc>
<alloc init = "true">fdopendir</alloc>
<dealloc>closedir</dealloc>
</resource>
<resource>
<alloc init = "true">fdopen</alloc>
<dealloc>fclose</dealloc>
</resource>
<resource>
<alloc init = "true">popen</alloc>
<dealloc>pclose</dealloc>
</resource>
2017-06-06 23:21:05 +02:00
<resource>
<alloc init = "true">mq_open</alloc>
<dealloc>mq_close</dealloc>
</resource>
2017-07-17 15:17:20 +02:00
<memory>
2017-07-17 15:21:42 +02:00
<alloc init = "true" arg="4">getaddrinfo</alloc>
2017-07-17 15:17:20 +02:00
<dealloc>freeaddrinfo</dealloc>
</memory>
2015-11-21 20:24:30 +01:00
<!-- This type definitions refer to http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html-->
2015-11-21 16:10:46 +01:00
<podtype name = "in_port_t" sign="u" size="2"/>
<podtype name = "in_addr_t" sign="u" size="4"/>
2019-01-29 23:20:44 +01:00
<podtype name = "nfds_t" sign="u"/>
2015-11-21 16:10:46 +01:00
<podtype name = "socklen_t" sign="u" size="4"/>
<podtype name = "sa_family_t" sign="u" size="2"/>
<podtype name = "nlink_t" sign="s"/>
<podtype name = "mode_t" sign="s"/>
<podtype name = "pid_t" sign="s"/>
<podtype name = "uid_t" sign="s"/>
<podtype name = "gid_t" sign="s"/>
<podtype name = "id_t" sign="s"/>
<podtype name = "blkcnt_t" sign="s"/>
<podtype name = "off_t" sign="s"/>
2022-02-09 08:34:35 +01:00
<podtype name = "loff_t" sign="s" size="8"/>
<podtype name = "off64_t" sign="s" size="8"/>
2015-11-21 16:10:46 +01:00
<podtype name = "fsblkcnt_t" sign="u"/>
<podtype name = "fsfilcnt_t" sign="u"/>
<podtype name = "ino_t" sign="u"/>
<podtype name = "useconds_t" sign="u"/>
<podtype name = "suseconds_t" sign="u"/>
<podtype name = "blksize_t" sign="s"/>
<podtype name = "ssize_t" sign="s"/>
2019-01-29 23:20:44 +01:00
<!-- struct: <podtype name = "dirent"/> -->
<!-- struct: <podtype name = "DIR"/> -->
2015-11-21 16:10:46 +01:00
<podtype name = "clockid_t"/>
<podtype name = "dev_t"/>
<podtype name = "key_t"/>
<podtype name = "tms"/>
2019-01-29 23:20:44 +01:00
<!-- struct: <podtype name = "utsname"/> -->
2015-11-21 16:10:46 +01:00
<podtype name = "pthread_attr_t"/>
<podtype name = "pthread_cond_t"/>
<podtype name = "pthread_condattr_t"/>
<podtype name = "pthread_key_t"/>
<podtype name = "pthread_mutexattr_t"/>
<podtype name = "pthread_mutex_t"/>
<podtype name = "pthread_barrier_t"/>
<podtype name = "pthread_barrierattr_t"/>
<podtype name = "pthread_once_t"/>
<podtype name = "pthread_rwlock_t"/>
<podtype name = "pthread_rwlockattr_t"/>
<podtype name = "pthread_spinlock_t"/>
<podtype name = "pthread_t"/>
<podtype name = "timer_t"/>
<podtype name = "trace_attr_t"/>
<podtype name = "trace_event_id_t"/>
<podtype name = "trace_event_set_t"/>
<podtype name = "trace_id_t"/>
<podtype name = "stat"/>
<podtype name = "sigjmp_buf"/>
<podtype name = "sigset_t"/>
<podtype name = "termios"/>
<podtype name = "intptr_t"/>
<podtype name = "timespec"/>
2019-01-29 23:20:44 +01:00
<!-- struct: <podtype name = "timeval"/> -->
2015-11-21 16:10:46 +01:00
<podtype name = "timezone"/>
2019-01-29 23:20:44 +01:00
<!-- struct: <podtype name = "sigaction"/> -->
2016-12-04 12:24:26 +01:00
<podtype name = "stack_t"/>
2015-11-21 16:10:46 +01:00
<podtype name = "mq_attr"/>
<podtype name = "mqd_t"/>
<podtype name = "datum"/>
<podtype name = "DBM"/>
<podtype name = "addrinfo"/>
<podtype name = "hostent"/>
<podtype name = "netent"/>
<podtype name = "protoent"/>
<podtype name = "servent"/>
<podtype name = "passwd"/>
<podtype name = "nl_catd"/>
<podtype name = "nl_item"/>
<podtype name = "regex_t"/>
<podtype name = "sched_param"/>
2016-05-19 11:51:49 +02:00
<podtype name = "glob_t"/>
2018-06-08 14:42:31 +02:00
<podtype name = "locale_t"/>
2017-02-07 12:14:55 +01:00
<define name = "MAP_FAILED" value="-1"/>
2019-01-10 21:14:37 +01:00
<define name = "RTLD_LAZY" value="0x01"/>
<define name = "RTLD_NOW" value="0x02"/>
<define name = "RTLD_GLOBAL" value="0x04"/>
<define name = "RTLD_LOCAL" value="0x08"/>
2019-02-17 23:35:34 +01:00
<define name = "S_IFMT" value="0170000"/>
<define name = "S_IFSOCK" value="0140000"/>
<define name = "S_IFLNK" value="0120000"/>
<define name = "S_IFREG" value="0100000"/>
<define name = "S_IFBLK" value="0060000"/>
<define name = "S_IFDIR" value="0040000"/>
<define name = "S_IFCHR" value="0020000"/>
<define name = "S_IFIFO" value="0010000"/>
2022-12-22 10:07:50 +01:00
<!-- see http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html
2019-04-26 19:26:04 +02:00
Some other signals are defined in std.cfg! -->
2019-04-25 12:17:26 +02:00
<define name = "SIGHUP" value="1"/>
<define name = "SIGQUIT" value="3"/>
<define name = "SIGILL" value="4"/>
<define name = "SIGTRAP" value="5"/>
<define name = "SIGBUS" value="7"/>
<define name = "SIGUSR1" value="10"/>
<define name = "SIGUSR2" value="12"/>
<define name = "SIGPIPE" value="13"/>
<define name = "SIGALRM" value="14"/>
<define name = "SIGCHLD" value="17"/>
<define name = "SIGCONT" value="18"/>
<define name = "SIGSTOP" value="19"/>
<define name = "SIGTSTP" value="20"/>
<define name = "SIGTTIN" value="21"/>
<define name = "SIGTTOU" value="22"/>
<define name = "SIGURG" value="23"/>
<define name = "SIGXCPU" value="24"/>
<define name = "SIGXFSZ" value="25"/>
<define name = "SIGVTALRM" value="26"/>
<define name = "SIGPROF" value="27"/>
<define name = "SIGPOLL" value="29"/>
<define name = "SIGSYS" value="31"/>
2020-12-24 14:22:05 +01:00
<define name = "F_OK" value="0"/>
<define name = "R_OK" value="4"/>
<define name = "W_OK" value="2"/>
<define name = "X_OK" value="1"/>
2020-12-25 12:48:38 +01:00
<!-- https://man7.org/linux/man-pages/man3/lockf.3.html -->
<define name = "F_LOCK" value="1"/>
<define name = "F_TEST" value="3"/>
<define name = "F_TLOCK" value="2"/>
<define name = "F_ULOCK" value="0"/>
2014-10-14 06:46:47 +02:00
</def>