diff --git a/cfg/posix.cfg b/cfg/posix.cfg
index 1c7ca1498..b6d3af2e3 100644
--- a/cfg/posix.cfg
+++ b/cfg/posix.cfg
@@ -14,6 +14,18 @@
+
+
+
+
+
+ false
+
+
+
+
+
+
diff --git a/test/cfg/posix.c b/test/cfg/posix.c
index fb3e3f92b..cf7ee0db3 100644
--- a/test/cfg/posix.c
+++ b/test/cfg/posix.c
@@ -30,6 +30,14 @@
#include
#include
+int nullPointer_aio_read(struct aiocb *aiocbp)
+{
+ // cppcheck-suppress nullPointer
+ (void)aio_read(NULL);
+ // No warning is expected
+ return aio_read(aiocbp);
+}
+
int nullPointer_aio_suspend(const struct aiocb *const aiocb_list[], int nitems, const struct timespec *restrict timeout)
{
// cppcheck-suppress nullPointer