Submitter: Bill Plauger (US)
Submission Date: 2000-04-10
Reference Document: N/A
Date: 2000-11-02 13:51:27
Subject: wmemcmp declaration in Annex B.
The wmemcmp declaration in Annex B should not have restrict for the arguments, and the first argument should be a const.
In Annex B, change:
int wmemcmp(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n);to:
int wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n);
Also, wmemcmp should follow wcsncpy, wmemcpy and wmemmove should follow wcsxfrm, and wcslen should follow wmemchr.
Previous Defect Report < - > Next Defect Report