Defect Report #228

Previous Defect Report < - > Next Defect Report

Submitter: Bill Plauger (US)
Submission Date: 2000-04-10
Reference Document: N/A
Version: 1.2
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.

Technical Corrigendum
In Annex B, change:

int wmemcmp(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n);
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