From 12d0bfcece370d862554cfc399e7b54b45bfe64f Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Fri, 14 Mar 2025 17:58:20 +0100 Subject: [PATCH] man/man3/: SYNOPSIS: Fix incorrect array parameters See the non-wide equivalent functions. Signed-off-by: Alejandro Colomar --- man/man3/wcpncpy.3 | 2 +- man/man3/wcsncat.3 | 2 +- man/man3/wcsncpy.3 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.2