aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/wcsncmp.3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-11-24 18:23:46 +0100
committerAlejandro Colomar <alx@kernel.org>2025-11-24 18:25:13 +0100
commite11a82a6f7098b94bcd00fb767a1db269e3a83db (patch)
tree4be763497210fef1d26e449f013c8b5f12bb7596 /man/man3/wcsncmp.3
parent466c43360f3874a890e910610d4d01ea135d020c (diff)
downloadman-pages-e11a82a6f7098b94bcd00fb767a1db269e3a83db.tar.gz
man/man3/: {str,wcs}n{cmp,len}(3): Remove array parameter length expressions
The arguments to these APIs may be shorter than that, as long as they are null terminated strings. Reported-by: Florian Weimer <fweimer@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/wcsncmp.3')
-rw-r--r--man/man3/wcsncmp.33
1 files changed, 1 insertions, 2 deletions
diff --git a/man/man3/wcsncmp.3 b/man/man3/wcsncmp.3
index 71e87621f0..2597e753c8 100644
--- a/man/man3/wcsncmp.3
+++ b/man/man3/wcsncmp.3
@@ -13,8 +13,7 @@ Standard C library
.nf
.B #include <wchar.h>
.P
-.BR "int wcsncmp(" "size_t n;"
-.BI " const wchar_t " s1 [ n "], const wchar_t " s2 [ n "], size_t " n );
+.BR "int wcsncmp(const wchar_t " s1 "[], const wchar_t " s2 "[], size_t " n );
.fi
.SH DESCRIPTION
The