]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/: SYNOPSIS: Fix incorrect array parameters
authorAlejandro Colomar <alx@kernel.org>
Fri, 14 Mar 2025 16:58:20 +0000 (17:58 +0100)
committerAlejandro Colomar <alx@kernel.org>
Fri, 14 Mar 2025 17:47:15 +0000 (18:47 +0100)
See the non-wide equivalent functions.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/wcpncpy.3
man/man3/wcsncat.3
man/man3/wcsncpy.3

index 68212bae44af29c5dde78358becd86e1567c45d4..c64cddf4e1bf08d0fdd27c18b477070abb82c6db 100644 (file)
@@ -20,7 +20,7 @@ Standard C library
 .B #include <wchar.h>
 .P
 .BI "wchar_t *wcpncpy(wchar_t " dest "[restrict ." n ],
-.BI "                 const wchar_t " src "[restrict ." n ],
+.BI "                 const wchar_t *restrict " src ,
 .BI "                 size_t " n );
 .fi
 .P
index 1cd400f2008867d24ac0e85b924e8de89d49425e..75e3b8e934f4f47d2f0175fc6f9048459b98877f 100644 (file)
@@ -19,7 +19,7 @@ Standard C library
 .nf
 .B #include <wchar.h>
 .P
-.BI "wchar_t *wcsncat(wchar_t " dest "[restrict ." n ],
+.BI "wchar_t *wcsncat(wchar_t *restrict " dest ,
 .BI "                 const wchar_t " src "[restrict ." n ],
 .BI "                 size_t " n );
 .fi
index 94c0104455e307a4292ddca90fcffdc3e64556e2..151251583cfd6bad54bd13bf196df677eae4b079 100644 (file)
@@ -20,7 +20,7 @@ Standard C library
 .B #include <wchar.h>
 .P
 .BI "wchar_t *wcsncpy(wchar_t " dest "[restrict ." n ],
-.BI "                 const wchar_t " src "[restrict ." n ],
+.BI "                 const wchar_t *restrict " src ,
 .BI "                 size_t " n );
 .fi
 .SH DESCRIPTION