[Bug 277855] Wrong signatures for wide character string functions

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Mar 2024 06:04:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277855

            Bug ID: 277855
           Summary: Wrong signatures for wide character string functions
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: pjfloyd@wanadoo.fr
                CC: doc@FreeBSD.org

The manpage signatures for wcpcpy  and wcpncpy are wrong. The "const" and
"restrict" keywords are missing. This is on FreeBSD 14.0.

Manpage:

     wchar_t *
     wcpcpy(wchar_t *s1, wchar_t *s2);

     wchar_t *
     wcpncpy(wchar_t *s1, wchar_t *s2, size_t n);

wchar.h header

wchar_t *wcpcpy(wchar_t * __restrict, const wchar_t * __restrict);
wchar_t *wcpncpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);

-- 
You are receiving this mail because:
You are on the CC list for the bug.