From: Alejandro Colomar Date: Fri, 14 Mar 2025 16:58:20 +0000 (+0100) Subject: man/man3/: SYNOPSIS: Fix incorrect array parameters X-Git-Tag: man-pages-6.14~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12d0bfcece370d862554cfc399e7b54b45bfe64f;p=thirdparty%2Fman-pages.git man/man3/: SYNOPSIS: Fix incorrect array parameters See the non-wide equivalent functions. Signed-off-by: Alejandro Colomar --- diff --git a/man/man3/wcpncpy.3 b/man/man3/wcpncpy.3 index 68212bae4..c64cddf4e 100644 --- a/man/man3/wcpncpy.3 +++ b/man/man3/wcpncpy.3 @@ -20,7 +20,7 @@ Standard C library .B #include .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 diff --git a/man/man3/wcsncat.3 b/man/man3/wcsncat.3 index 1cd400f20..75e3b8e93 100644 --- a/man/man3/wcsncat.3 +++ b/man/man3/wcsncat.3 @@ -19,7 +19,7 @@ Standard C library .nf .B #include .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 diff --git a/man/man3/wcsncpy.3 b/man/man3/wcsncpy.3 index 94c010445..151251583 100644 --- a/man/man3/wcsncpy.3 +++ b/man/man3/wcsncpy.3 @@ -20,7 +20,7 @@ Standard C library .B #include .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