diff --git a/cfg/std.cfg b/cfg/std.cfg
index a0b87b589..e05ab521f 100644
--- a/cfg/std.cfg
+++ b/cfg/std.cfg
@@ -2522,6 +2522,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -2546,6 +2547,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -2570,6 +2572,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -2594,6 +2597,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -2632,6 +2636,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -2656,6 +2661,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -2680,6 +2686,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -2704,6 +2711,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -2728,6 +2736,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -2752,6 +2761,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -2776,6 +2786,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
@@ -2800,6 +2811,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
+
diff --git a/test/cfg/std.c b/test/cfg/std.c
index 4e125199a..d2eb9db5b 100644
--- a/test/cfg/std.c
+++ b/test/cfg/std.c
@@ -3978,6 +3978,14 @@ bool invalidFunctionArgBool_islower(bool b, int c)
return islower(c != 0);
}
+bool invalidFunctionArgBool_iswcntrl(bool b, wint_t c)
+{
+ // cppcheck-suppress invalidFunctionArgBool
+ (void)iswcntrl(b);
+ // cppcheck-suppress invalidFunctionArgBool
+ return iswcntrl(c != 0);
+}
+
bool invalidFunctionArgBool_isprint(bool b, int c)
{
// cppcheck-suppress invalidFunctionArgBool