diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2024-03-21 08:38:05 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2024-03-21 08:40:08 +0000 |
| commit | 69d5783ae81b74295118950d01b6dddb3e504a56 (patch) | |
| tree | 50b618ac3c0450422d4a946a3a5f211fb84ff24f | |
| parent | f29af8618bf94f1e58877feb6dbef35bd8bbf56b (diff) | |
| download | src-69d5783ae81b74295118950d01b6dddb3e504a56.tar.gz src-69d5783ae81b74295118950d01b6dddb3e504a56.zip | |
wmemchr(3): fix prototypes for wcpcpy() and wcpncpy()
PR: 277855
Reported by: Paul Floyd <pjfloyd@wanadoo.fr>
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
| -rw-r--r-- | lib/libc/string/wmemchr.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/wmemchr.3 b/lib/libc/string/wmemchr.3 index f88c7d49b252..c1701facb7d5 100644 --- a/lib/libc/string/wmemchr.3 +++ b/lib/libc/string/wmemchr.3 @@ -31,7 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd July 14, 2021 +.Dd March 21, 2024 .Dt WMEMCHR 3 .Os .Sh NAME @@ -80,9 +80,9 @@ .Ft wchar_t * .Fn wmemset "wchar_t *s" "wchar_t c" "size_t n" .Ft wchar_t * -.Fn wcpcpy "wchar_t *s1" "wchar_t *s2" +.Fn wcpcpy "wchar_t * restrict s1" "const wchar_t * restrict s2" .Ft wchar_t * -.Fn wcpncpy "wchar_t *s1" "wchar_t *s2" "size_t n" +.Fn wcpncpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n" .Ft int .Fn wcscasecmp "const wchar_t *s1" "const wchar_t *s2" .Ft wchar_t * |
