Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2024 06:04:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277855] Wrong signatures for wide character string functions
Message-ID:  <bug-277855-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277855

            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);

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277855-227>