Opened 10 years ago
#338 new defect
mbstowcs() returns in bytes not in wide-characters
Reported by: | KO Myung-Hun | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | libc-0.7 |
Component: | libc | Version: | 0.6.6 |
Severity: | normal | Keywords: | |
Cc: |
Description
Hi/2.
mbstowcs() should returns in wide-characters(). See http://pubs.opengroup.org/onlinepubs/009695399/functions/mbstowcs.html. However, it returns in bytes.
I attach a test program. In that, mbstowcs() should return 3 likes wcslen().
Attachments (1)
Note:
See TracTickets
for help on using tickets.
testcase